I can’t pinpoint the error occuring in my solution.
pls tell me my error.
i have checked it thoroughly, i can’t find any.
pls help
Pls check my solution
read this line carefully->
The scheme is as follows, each car will be allowed to run on Sunday if the sum of digits which are even is divisible by 4 or sum of digits which are odd in that number is divisible by 3
i am getting the correct output. but on submission still it’s saying wrong answer.
u have misunderstood the statements.
u need to compute sum of even digits and sum of odd digits seprately .
and after that if sum of even digits is divisbile by 4
or if sum of odd digits is divisible by 3 then u need to print yes otherwise no.
refer this->
ohh i see my mistake.
thanks a lot for solving the problem
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.