QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#319613#2879. Kaleidoscopic RouteksmRE 0ms9760kbC++145.3kb2024-02-02 21:18:082024-02-02 21:18:08

詳細信息

Test #1:

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

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
Runtime Error

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: