by .. » Sat Nov 06, 2004 5:27 pm
Thanks Adrian, your output helps me much, at last I get accepted.......
I find that in the input, there is character with ASCII code > 127........
I think it is too tricky......they should states this in the problem statement.
And my AC program gives these output
1
-1
-1
-1
0
1
0
1
1
3
2
My signature:
- Please make discussion about the algorithm BRFORE posting source code.
We can learn much more in discussion than reading source code. - I HATE testing account.
- Don't send me source code for debug.