QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#387632#8547. Whose Land?ucup-team030#WA 506ms3812kbC++203.2kb2024-04-12 17:52:382024-04-12 17:52:39

詳細信息

Test #1:

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

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: 506ms
memory: 3812kb

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:

260
390
363
125
321
332
443
8
341
428
399
340
182
244
356
501
144
45
344
261
93
327
39
290
264
72
140
465
172
25
163
461
285
332
254
318
486
464
78
357
58
391
375
217
401
268
189
260
136
69
207
434
441
353
304
464
332
173
295
411
211
488
200
185
490
62
484
128
292
207
284
378
115
413
496
375
123
193...

result:

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