QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#462913#8547. Whose Land?egypt_ioi2024_12WA 2160ms8104kbC++148.6kb2024-07-04 09:40:292024-07-04 09:40:29

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 8104kb

input:

2
5 1 2
1 2
1 3
2 4
2 5
2 2
2 3
8 2 3
1 2
1 3
2 4
2 5
4 6
5 7
7 8
2 2
2 5
3 4

output:

4
5
7
8
6

result:

ok 5 number(s): "4 5 7 8 6"

Test #2:

score: -100
Wrong Answer
time: 2160ms
memory: 7600kb

input:

1000
500 1 500
291 2
406 9
207 13
71 15
351 17
442 18
496 19
104 20
208 23
448 34
80 42
187 44
352 45
290 46
116 47
318 50
226 52
129 55
83 59
100 60
54 61
73 65
63 66
454 67
43 71
26 74
68 26
320 75
388 76
425 79
170 81
350 83
48 85
153 86
221 90
290 95
130 96
82 98
124 82
36 99
213 100
121 101
132...

output:

251
382
353
124
314
326
435
8
332
423
394
334
176
238
352
498
145
44
338
261
92
324
38
291
255
71
136
454
170
24
162
451
283
321
249
318
474
456
75
350
56
391
368
217
395
261
188
252
132
68
201
425
432
344
300
458
320
170
291
404
207
476
197
182
487
61
472
127
288
204
278
374
114
406
484
363
119
190...

result:

wrong answer 1st numbers differ - expected: '255', found: '251'