QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#389059#8547. Whose Land?ucup-team1123#WA 324ms3856kbC++2348.4kb2024-04-14 01:16:452024-04-14 01:16:45

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3856kb

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: 324ms
memory: 3756kb

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:

252
381
352
124
311
327
428
8
331
414
394
335
178
241
350
492
144
44
339
259
92
323
38
290
256
71
137
448
169
24
162
444
282
322
249
317
471
455
77
350
56
390
368
216
388
262
187
254
133
66
204
425
431
342
299
457
321
170
290
400
206
473
196
181
480
61
467
127
285
204
279
370
113
401
480
362
121
190...

result:

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