Wait, TooDifficult's solution is incorrect?

Revision en2, by MadNick, 2016-09-09 13:45:30

Hello everyone

When I was solving this problem, accidentally found a test where some "accepted" solutions crash! It would be really nice, if someone somehow add this test case!

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 4
1 6

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)