QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#255380#5548. Increase the Toll Feesucup-team1651#WA 83ms25836kbC++146.2kb2023-11-18 15:42:172023-11-18 15:42:18

詳細信息

Test #1:

score: 100
Accepted
time: 3ms
memory: 15720kb

input:

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

output:

9

result:

ok single line: '9'

Test #2:

score: 0
Accepted
time: 2ms
memory: 11640kb

input:

3 4
1 2 3
2 3 4
1 3 5
1 3 10

output:

-1

result:

ok single line: '-1'

Test #3:

score: 0
Accepted
time: 3ms
memory: 13784kb

input:

5 10
1 2 14
1 3 14
1 4 9
1 5 15
2 3 8
2 3 10
2 4 13
3 4 8
4 5 10
4 5 15

output:

21

result:

ok single line: '21'

Test #4:

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

input:

2 1
1 2 1

output:

-1

result:

ok single line: '-1'

Test #5:

score: -100
Wrong Answer
time: 83ms
memory: 25836kb

input:

29171 100000
7223 21138 270743473
5598 27967 847631606
12666 26050 847631606
75 15747 270743473
8522 12955 847631606
6069 23750 270743473
18708 22605 847631606
16814 22169 847631606
11550 27119 847631606
562 15959 847631606
9400 11110 270743473
15325 23805 270743473
19169 24404 270743473
6649 12062 ...

output:

145003052

result:

wrong answer 1st lines differ - expected: '16827826868780', found: '145003052'