| 
| Идёт турнир! |  | В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания. 
 |  
 | 
| imesecan | 28.мая.2016 в 10:55:25 |  |  | 0 | --- Test 1 --- 6 8
 0 0 0 0 0 0
 0 1 1 0 1 1
 0 1 1 0 0 0
 0 1 1 0 0 1
 1 0 0 0 0 1
 1 0 0 1 1 1
 5 6
 6 5
 6 1
 1 6
 1 5
 1 6
 1 5
 1 6
 
 --- pattern ---
 6
 
 
 |  | sreka | 28.мая.2016 в 12:02:11 |  |  | 1 | --- Test 2 --- 6 16
 0 0 0 0 1 0
 0 1 1 0 1 1
 0 1 1 0 0 0
 0 1 1 0 0 1
 1 0 0 0 0 1
 1 0 0 1 1 1
 6 3
 6 2
 2 3
 5 2
 4 2
 2 2
 1 4
 1 3
 1 1
 4 5
 5 6
 5 2
 5 2
 5 2
 5 2
 5 2
 
 --- pattern ---
 9
 
 
 |  | 42 65 73 74 | 29.мая.2016 в 14:06:39 |  |  | 2 | Professor 
 I cant find anything wrong with the code. If it worked for 8 test case, and worked for 1153 solders by logic it must work if there were 1154 solders. What are the odds that  the test case 9 is wrong?
 
 
 |  
 |