QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#459565#8547. Whose Land?egypt_ioi2024_13WA 809ms23880kbC++208.2kb2024-06-30 07:56:432024-06-30 07:56:43

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 23396kb

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: 809ms
memory: 23880kb

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:

430
473
466
293
452
448
486
41
455
484
474
449
370
406
472
500
331
161
449
415
239
438
120
428
430
205
309
493
358
87
359
492
430
449
413
439
495
494
223
458
200
474
462
390
479
427
363
416
340
248
392
485
489
462
436
494
450
343
431
482
384
494
380
376
499
178
496
277
436
378
427
475
294
475
497
46...

result:

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