All about problems in Volume 10. If there is a thread about your problem, please use it. If not, create one with its number in the subject.
Moderator: Board moderators
- New poster
- Posts: 3
- Joined: Fri Apr 04, 2014 12:58 pm
WARNING: You should print an empty line after EACH test case... The problem statement is not clear at all.
So at the end the of the sample test case, it should be
Code: Select all
Case 3: distance = 3\n 2-3\n 1-2-3\n\n