I cant find it on hackerblocks

can i get the link for it?

@sshreya2912,
here

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.

in the code of it while converting string to int why b is mod by mod-1 rather than mod

https://ide.codingblocks.com/s/241673 it got a problem with 2 testcases

can you pin point me to the line you are referring to?

@sshreya2912 you can refer to this editorial https://codingblocks.com/resources/lights-new-car/ for any clarifications

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.