Back to Problem Solutions forum
Hello Folks !!!
I got an inconsistency bettewen my answer and the answer a got from the checker. Sometimes I am got correct in my answer sometimes the checker give-mes another answer.
I have revised all my code and wasn't be able to find where the discrepancy is.
I looking forward your help,
Curio_Amigo
Hello, Curio Amigo.
I do not even get how your code is working. I can agree that if answer to given sample is 0, then all digits of sample are wrong, so you full your "wrong0", "wrong1", ... arrays correctly.
But on your "doubt0", "doubt1", ... arrays I have doubts, ha-ha. It looks for me that they have less members than should.
And the way you choose "sure0", "sure1", ... from "doubt0", "doubt1", ... well, I can say I do not see any logic here.