QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#195696#4809. Maximum RangebjaoefiajWA 2ms10612kbC++141.7kb2023-10-01 06:16:492023-10-01 06:16:50

详细

Test #1:

score: 0
Wrong Answer
time: 2ms
memory: 10612kb

input:

5 7
1 2 1
1 3 -2
2 3 1
3 4 3
4 5 1
1 5 -1
2 5 2

output:

5
4
1 2 3 4 

result:

wrong answer Edge 4-1 does not appear in original graph