QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#364840#5069. VacationZhaoZiLongTL 0ms3672kbC++171.9kb2024-03-24 16:55:592024-03-24 16:55:59

详细

Test #1:

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

input:

5 6 3
0 -5 -3 8 -3
2 3 5
1 2 5
2 1 5
1 4 -3
2 3 5
2 1 5

output:

8
10
0
5

result:

ok 4 number(s): "8 10 0 5"

Test #2:

score: -100
Time Limit Exceeded

input:

200000 500000 1
387060158 961744470 37167782 737122872 -532977662 1604246 -30977399 871848791 444997246 454204578 -813187501 -660394286 448014171 -835115276 -631880452 887715308 258530352 805589560 -414653327 -156732249 -335096199 -80266237 367896009 738406627 -903652056 446120866 415658444 -1347916...

output:


result: