Hello,
My algorithm for the ONEZERO problem is quite fast (I have tested all the numbers <=20000) except for the multiple of 9. But even if the program just return 0 for the multiple of 9 it still has a TLE. So I really don't understand. The time limit is 8s I don't even pass a single test.
Can you tell me what is your first test number?
I work on this problemfor days and night and I am really stucked.
Thank you for your help
Cyril