Wait, TooDifficult's solution is incorrect?

Правка en4, от MadNick, 2016-09-09 13:53:55

Hello everyone

When I was solving this problem, accidentally found a test where some "accepted" solutions would 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 6
1 4

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en7 Английский MadNick 2016-09-09 14:11:50 0 (published)
en6 Английский MadNick 2016-09-09 14:11:03 1 Tiny change: 'r solutions might be ' -> 'r solution might be '
en5 Английский MadNick 2016-09-09 14:10:19 341
en4 Английский 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 Английский MadNick 2016-09-09 13:47:54 6 Tiny change: 'solutions crash! It' -> 'solutions would crash! It'
en2 Английский MadNick 2016-09-09 13:45:30 130
en1 Английский MadNick 2016-09-09 13:44:06 277 Initial revision (saved to drafts)