QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#53526#2879. Kaleidoscopic RouteHuangHanShengML 5ms17688kbC++175.7kb2022-10-05 13:06:042022-10-05 13:06:06

詳細信息

Test #1:

score: 100
Accepted
time: 5ms
memory: 17688kb

input:

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

output:

3
1 5 4 6

result:

ok 3 6

Test #2:

score: -100
Memory Limit Exceeded

input:

10 20
1 9 34
6 3 80
7 3 15
5 4 73
4 1 42
8 6 92
2 10 25
4 3 8
9 3 79
3 1 11
9 2 74
10 1 83
3 2 6
10 3 38
10 4 48
1 5 38
6 2 43
4 2 55
8 7 90
3 5 4

output:


result: