Because when I see the word "sum," I directly guess I should deal with all input with "reverse and add" at least one time. I think the description should be clearfied about the proper output format when N is already a palindrome.
I am not a native English user, so sometimes the interpretion ...
Search found 2 matches
- Sat Nov 08, 2003 5:23 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10018 - Reverse and Add
- Replies: 169
- Views: 43881
- Wed Nov 05, 2003 12:55 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10018 - Reverse and Add
- Replies: 169
- Views: 43881
What is the right output for the input 99 now?
I got confused now.
According to the problem description, "If the sum is not a palindrome, ..."
Doesn't the term "sum" mean I have to do "reverse and add" at lease one time?
However, my on-line judge's result varies from WA, Time Limit Exceeeded, Run Time Error, ....
And after I change my code for ...
According to the problem description, "If the sum is not a palindrome, ..."
Doesn't the term "sum" mean I have to do "reverse and add" at lease one time?
However, my on-line judge's result varies from WA, Time Limit Exceeeded, Run Time Error, ....
And after I change my code for ...