I have a program I am working on for school. The code compiles and runs as expected on the school server but the program that checks is outputting something more than what I wanted.
The correct output is on the left, mine is on the right. The arrows show the problem lines where it differs.
> : 1, 5:06
> : 1, 5:06
> 2. : 5:06
Mayfield, Curtis: 1, 5:06 Mayfield, Curtis: 1, 5:06
Superfly: 1, 5:06 Superfly: 1, 5:06
2. Pusherman: 5:06 2. Pusherman: 5:06
This is how the program runs with one of the provided text files. As you can see, there is no problem here.
King Crimson: 2, 21:29
Larks' Tongues In Aspic: 3, 15:33
2. Book of Saturday: 2:49
3. Exiles: 5:47
6. Larks' Tongues In Aspic, Part 2: 6:57
Three of a Perfect Pair: 1, 5:56
9. Larks' Tongues In Aspic, Part III: 5:56
Larkins, Ellis: 1, 2:44
Jazz Piano III (A Smithsonian Collection): 1, 2:44
2. Between the Devil and the Deep Blue Sea: 2:44
League of Crafty Guitarists: 1, 2:37
Intergalactic Boogie Express: 1, 2:37
3. Larks' Thrak: 2:37
Lewin, Michael: 1, 5:25
A Russian Piano Recital: 1, 5:25
2. Balakirev, The Lark: 5:25
Paderewski, Ignace: 2, 6:00
Josef Hofmann & Ignace Jan Paderewski Play Liszt: 1, 3:03
5. Schubert-Liszt, Hark, Hark, The Lark: 3:03
Paderewski Plays Concert No. 1: 1, 2:57
7. Schubert-Liszt, Hark, Hark the Lark: 2:57
I know it is hard without knowing how the checker works but I don't know anything about it either. Any ideas on why this would happen?