UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#1008#24. Brainy_season100160ms17252kbC++3.8kb2018-07-09 12:18:182018-07-09 13:33:20

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 10
Accepted
time: 0ms
memory: 11472kb

input:

5 5 5
1 2
1 3
3 4
2 5
1 1 2
2 4 2
5 4 2
2 4 5
1 4 1

output:

2 5 1 1 2

result:

ok Right Output

Test #2:

score: 10
Accepted
time: 0ms
memory: 11476kb

input:

5 5 5
1 2
1 3
3 4
1 5
2 3 4
1 4 3
1 4 3
1 4 3
1 3 4

output:

4 4 4 3 1

result:

ok Right Output

Test #3:

score: 10
Accepted
time: 0ms
memory: 11504kb

input:

15 15 15
1 2
2 3
2 4
4 5
5 6
5 7
5 8
6 9
2 10
5 11
6 12
5 13
13 14
6 15
13 7 5
10 1 14
8 9 15
13 9 6...

output:

14 4 4 13 5 4 5 15 15 14 5 5 6 8 9

result:

ok Right Output

Test #4:

score: 10
Accepted
time: 0ms
memory: 11504kb

input:

15 15 15
1 2
2 3
3 4
4 5
4 6
1 7
5 8
1 9
4 10
8 11
7 12
3 13
9 14
11 15
2 11 6
7 6 3
7 13 4
1 2 13
1...

output:

13 5 5 14 9 3 2 4 1 2 6 2 4 14 4

result:

ok Right Output

Test #5:

score: 10
Accepted
time: 31ms
memory: 17220kb

input:

250 250 50000
1 2
1 3
2 4
1 5
3 6
5 7
5 8
3 9
7 10
8 11
8 12
6 13
10 14
12 15
7 16
16 17
13 18
13 19...

output:

237 11 113 14 227 248 115 29 60 95 240 198 173 113 220 16 4 236 203 17 196 17 183 61 241 210 45 30 2...

result:

ok Right Output

Test #6:

score: 10
Accepted
time: 27ms
memory: 17192kb

input:

250 250 50000
1 2
2 3
3 4
1 5
1 6
1 7
6 8
2 9
7 10
5 11
10 12
6 13
10 14
6 15
15 16
16 17
15 18
16 1...

output:

217 16 101 153 184 222 10 95 149 22 47 228 35 63 25 214 23 170 17 93 97 210 94 133 219 50 231 164 69...

result:

ok Right Output

Test #7:

score: 10
Accepted
time: 27ms
memory: 17252kb

input:

250 250 50000
1 2
2 3
3 4
2 5
4 6
5 7
4 8
1 9
4 10
7 11
2 12
12 13
11 14
14 15
12 16
9 17
12 18
9 19...

output:

99 77 111 159 65 106 126 111 67 111 242 171 83 126 25 53 233 118 85 159 241 156 2 199 239 158 2 13 2...

result:

ok Right Output

Test #8:

score: 10
Accepted
time: 25ms
memory: 17200kb

input:

250 250 50000
1 2
2 3
1 4
3 5
5 6
6 7
3 8
4 9
5 10
5 11
6 12
7 13
10 14
8 15
10 16
13 17
8 18
10 19
...

output:

90 243 43 136 199 67 186 113 243 51 184 96 179 151 144 81 63 170 111 233 75 39 26 173 87 191 178 84 ...

result:

ok Right Output

Test #9:

score: 10
Accepted
time: 28ms
memory: 17200kb

input:

250 250 50000
1 2
2 3
1 4
4 5
2 6
3 7
1 8
5 9
8 10
3 11
9 12
3 13
13 14
9 15
11 16
8 17
11 18
11 19
...

output:

116 247 213 87 172 83 65 119 116 164 158 173 121 96 121 144 94 19 78 85 84 223 113 165 130 27 62 4 1...

result:

ok Right Output

Test #10:

score: 10
Accepted
time: 22ms
memory: 17212kb

input:

250 250 50000
1 2
1 3
3 4
2 5
2 6
4 7
7 8
7 9
1 10
5 11
4 12
7 13
12 14
13 15
7 16
13 17
15 18
12 19...

output:

233 164 109 82 122 234 154 191 235 17 239 73 178 233 128 189 99 154 11 56 165 86 124 2 218 243 132 1...

result:

ok Right Output

Extra Test:

score: 0
Extra Test Passed