QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#458891#8547. Whose Land?egypt_ioi2024_13WA 712ms11920kbC++204.5kb2024-06-29 20:26:372024-06-29 20:26:37

详细

Test #1:

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

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: 712ms
memory: 11920kb

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:

253
386
341
123
313
331
430
8
320
410
396
338
175
243
347
499
146
44
337
259
93
333
39
299
256
70
136
444
174
23
160
440
281
314
246
327
464
456
78
352
56
397
367
214
387
267
191
244
138
69
209
427
434
340
297
461
313
165
288
401
206
467
201
183
492
60
470
125
287
201
282
369
117
398
480
352
121
184...

result:

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