Wait, TooDifficult's solution is incorrect?

Revision en5, by MadNick, 2016-09-09 14:10:19

Slightly weak tests on this problem:

Input:
4 6 4
1 2
1 3
1 4
3 1 4 2 1 1 
2 2 2
1 3 1 3
1 2 1 1
1 2 1 1

Output:
3 1 2 5
1 6
1 4

P.S. I am not blaming anyone. Sometimes this kind of thing inevitably happens. I just wanted to let others know that their solutions might be incorrect.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en7 English MadNick 2016-09-09 14:11:50 0 (published)
en6 English MadNick 2016-09-09 14:11:03 1 Tiny change: 'r solutions might be ' -> 'r solution might be '
en5 English MadNick 2016-09-09 14:10:19 341
en4 English MadNick 2016-09-09 13:53:55 4 Tiny change: ' 1 2 5\n1 4\n1 6\n~~~~~\n\' -> ' 1 2 5\n1 6\n1 4\n~~~~~\n\'
en3 English MadNick 2016-09-09 13:47:54 6 Tiny change: 'solutions crash! It' -> 'solutions would crash! It'
en2 English MadNick 2016-09-09 13:45:30 130
en1 English MadNick 2016-09-09 13:44:06 277 Initial revision (saved to drafts)