QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#240710#7677. Easy Diameter Problemucup-team138#WA 28ms226344kbC++174.0kb2023-11-05 17:48:322023-11-05 17:48:32

详细

Test #1:

score: 100
Accepted
time: 28ms
memory: 225672kb

input:

3
1 2
3 2

output:

4

result:

ok 1 number(s): "4"

Test #2:

score: 0
Accepted
time: 20ms
memory: 226344kb

input:

5
4 1
4 5
1 2
1 3

output:

28

result:

ok 1 number(s): "28"

Test #3:

score: 0
Accepted
time: 23ms
memory: 225892kb

input:

7
5 7
2 5
2 1
1 6
3 6
4 1

output:

116

result:

ok 1 number(s): "116"

Test #4:

score: -100
Wrong Answer
time: 24ms
memory: 225784kb

input:

100
89 60
66 37
59 74
63 49
69 37
9 44
94 22
70 30
79 14
25 33
23 4
78 43
63 30
95 7
6 59
56 31
21 56
58 43
95 28
81 19
63 40
58 87
81 38
100 55
78 23
37 78
86 70
33 11
52 17
42 19
19 13
70 100
97 79
66 67
66 27
82 55
15 27
68 33
97 26
46 20
70 93
1 10
69 79
81 45
58 95
24 63
79 51
85 11
12 43
41 64...

output:

385346765

result:

wrong answer 1st numbers differ - expected: '748786623', found: '385346765'