QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#296037#1878. No Rest for the WickedhouzhiyuanML 1ms3568kbC++142.4kb2024-01-01 23:40:092024-01-01 23:40:10

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3568kb

input:

4 3
2 3 1
1 1 4
1 2 2
1 1 3
1 2
1 3
1 4

output:

2 4 2 3 

result:

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

Test #2:

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

input:

1 0
138088047 507565360 682493255

output:

682493255 

result:

ok 1 number(s): "682493255"

Test #3:

score: -100
Memory Limit Exceeded

input:

4 4
1 4 3
2 4 2
2 4 3
3 4 4
1 2
1 3
2 3
3 4

output:


result: