QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#391574#7936. Eliminate TreeHuangHanShengWA 38ms15792kbC++142.1kb2024-04-16 17:15:162024-04-16 17:15:16

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 8492kb

input:

5
1 2
2 3
3 4
3 5

output:

4

result:

ok 1 number(s): "4"

Test #2:

score: 0
Accepted
time: 0ms
memory: 8372kb

input:

4
1 2
2 3
3 4

output:

2

result:

ok 1 number(s): "2"

Test #3:

score: -100
Wrong Answer
time: 38ms
memory: 15792kb

input:

196666
32025 108673
181779 17115
162570 134230
93003 39673
89144 1269
185919 154408
34896 65369
35860 44720
55698 1390
45520 189805
147867 124511
135459 132555
87303 18031
176314 59695
33352 130640
87272 39716
35749 108807
143493 94486
126512 116598
40212 70895
132216 80855
22241 188737
150354 17346...

output:

8

result:

wrong answer 1st numbers differ - expected: '138182', found: '8'