QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#421415#8547. Whose Land?ucup-team864#WA 333ms24300kbC++234.1kb2024-05-25 18:16:532024-05-25 18:16:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 6ms
memory: 24300kb

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: 333ms
memory: 22212kb

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:

256
386
357
125
315
331
437
8
336
423
399
339
181
243
352
500
145
45
343
261
93
327
39
291
260
72
138
456
172
25
163
453
283
326
250
319
478
460
78
355
57
393
373
217
395
266
189
257
135
69
206
429
436
346
300
462
325
171
291
406
207
480
199
183
489
62
476
128
289
205
283
374
115
406
488
367
122
191...

result:

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