QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#408861#8547. Whose Land?AnosVoldigoadWA 478ms14512kbC++146.0kb2024-05-11 09:54:162024-05-11 09:54:16

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 478ms
memory: 14512kb

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:

230
351
318
110
285
299
407
4
300
387
368
307
161
214
316
499
123
38
311
229
79
293
33
262
234
66
122
426
157
22
144
424
243
292
223
289
454
434
68
322
49
361
340
188
357
235
164
222
116
63
174
404
410
315
259
440
289
141
249
373
182
457
179
161
479
48
456
109
259
180
251
339
100
375
473
331
109
161...

result:

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