QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#298525#7524. A Challenge For a Touristucup-team1005#WA 3ms8600kbC++204.2kb2024-01-06 12:26:232024-01-06 12:26:23

详细

Test #1:

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

input:

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

output:

-1
2
4

result:

ok 3 number(s): "-1 2 4"

Test #2:

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

input:

2 1
1 2 1
1
1 2 1

output:

1

result:

ok 1 number(s): "1"

Test #3:

score: -100
Wrong Answer
time: 3ms
memory: 8308kb

input:

5 10
1 2 4
2 2 0
1 1 7
2 1 7
4 1 1
5 5 1
4 1 4
5 2 6
1 1 2
2 4 7
10
1 4 3
1 2 5
3 2 1
3 5 5
2 4 0
3 2 0
2 1 2
2 3 6
5 1 7
2 3 3

output:

2
7
-1
-1
4
-1
7
-1
6
-1

result:

wrong answer 2nd numbers differ - expected: '6', found: '7'