Anybody tell me that why Compiler gives a WRONG answer in codechef???

At-least give the Question ID so that others can check for errors in your code ? Wrong answer means your solution is incorrect for some test cases.

You can see from profile the problem he is working on :wink: - http://www.codechef.com/problems/LUCKPAL but I agree, that’s polite to add the link in question…

1 Like

for input:

1
auckyluckykculykcua

the answer should be

auckyluckykculykcua 0

right?

1 Like

you are right…i got problem with this code…thankx

//