QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#233021#5502. Dazzling Mountaincbant15WA 635ms4104kbC++141.7kb2023-10-31 10:50:192023-10-31 10:50:19

详细

Test #1:

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

input:

1
9
1 2
2 3
3 4
3 5
2 6
6 7
7 8
7 9

output:

4
1 3 8 9 

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 635ms
memory: 4104kb

input:

10000
906
675 189
555 889
491 97
791 419
175 694
713 842
788 513
159 354
670 815
652 546
253 87
89 278
563 429
522 900
202 657
331 865
35 605
735 532
612 471
657 386
7 886
856 164
224 777
73 534
481 631
711 698
240 465
115 181
191 825
311 155
709 501
207 849
294 546
591 682
96 405
210 696
861 13
781...

output:

29
878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 
3
4 5 11 
12
100 101 102 103 104 105 106 107 108 109 110 111 
10
429 430 431 432 433 434 435 436 437 438 
28
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171...

result:

wrong answer 1st lines differ - expected: '63', found: '29'