ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1080. Map Coloring

Test #2
Posted by Maria 18 Apr 2010 19:57
Give the second test, please...
Re: Test #2
Posted by Petrenuk (NNSTU) 9 Mar 2011 03:51
Should be something like:
4
2 0
0
4 0
0

answer 0101 or 0110
Re: Test #2
Posted by Ilmir Tazetdinov [IATE] 8 May 2011 19:16
incorrected test. In problem: "Из каждой страны можно попасть в любую другую, перейдя некоторое количество границ. "

Edited by author 08.05.2011 19:17
Re: Test #2
Posted by rawr 26 Nov 2011 00:30
try this test

5
2 3 4 5 0
0
0
0
0

the answer should be: 01111
Re: Test #2
Posted by BrainFuck 15 Mar 2013 10:26
My program write correct answer but WA in check=(
Re: Test #2
Posted by i 21 Apr 2017 13:21
Same here. Passes rawr's test but not test #2

Try this out:

1-6-5
  | |
2-3-4


6
6 0
3 0
6 4 0
5 0
6 0
0


Edited by author 21.04.2017 13:41
Re: Test #2
Posted by vtalgo18_abulantsov 16 May 2018 02:25
Also try this test:
1-2-3-4
|     |
9     5
|     |
8-7---6

9
2 9 0
3 0
4 0
5 0
6 0
7 0
8 0
9 0
0

Edited by author 16.05.2018 02:35

Edited by author 16.05.2018 02:36