QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#454033#8547. Whose Land?egypt_ioi2024_11WA 382ms9940kbC++234.6kb2024-06-24 15:54:522024-06-24 15:54:52

详细

Test #1:

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

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: 382ms
memory: 8192kb

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:

198
306
279
100
248
264
353
6
262
340
316
267
145
184
280
412
112
36
267
207
66
248
23
230
200
45
111
369
127
17
127
364
229
254
192
250
388
368
65
286
38
311
297
165
315
211
145
206
104
56
158
339
345
270
246
370
251
134
238
320
156
391
148
147
399
48
384
103
225
166
219
299
83
320
398
286
104
155
...

result:

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