Search found 2 matches
- Thu Aug 06, 2009 10:21 am
- Forum: Volume 4 (400-499)
- Topic: 490 - Rotating Sentences
- Replies: 212
- Views: 48517
Re: 490 - Rotating Sentences
Ah, thank you! I could resolve my problems with your hint. At some point I tried to write a character from the string at a position which is out of boundary. This yields the NUL-character. The corrected test for that, substitute < with <=, resolved the problem. Thus my code is now accepted.
- Thu Aug 06, 2009 12:20 am
- Forum: Volume 4 (400-499)
- Topic: 490 - Rotating Sentences
- Replies: 212
- Views: 48517
Re: 490 - Rotating Sentences
Dear all,
I got a Wrong Answer on that problem, also I do not see what exactly is wrong. For simplicity I post here the code where each output line is the same length, i.e., there might be too many spaces in the end. What bothers me more is the following: the output on the command line is different ...
I got a Wrong Answer on that problem, also I do not see what exactly is wrong. For simplicity I post here the code where each output line is the same length, i.e., there might be too many spaces in the end. What bothers me more is the following: the output on the command line is different ...