Wrong Answer for Boston Number

Why am I getting Wrong Answer error for test cases 1 and 2?
After unlocking test cases, I see they are 378 and 730 and I am getting the correct output 1 and 0 respectively.

Here is my code:

Please hard refresh the site and then try again. This error occurs sometimes.

Still getting the same error after refreshing also. :confused:

I guess there is some error in the backend. I will report this error to the team. They will look into this.

You can mark this doubt as resolved now. I have reported it.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.