QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#241407#7677. Easy Diameter Problemucup-team1878#WA 2ms3636kbC++2010.8kb2023-11-06 05:47:212023-11-06 05:47:22

詳細信息

Test #1:

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

input:

3
1 2
3 2

output:

4

result:

ok 1 number(s): "4"

Test #2:

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

input:

5
4 1
4 5
1 2
1 3

output:

28

result:

ok 1 number(s): "28"

Test #3:

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

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: 2ms
memory: 3632kb

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:

449716935

result:

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