QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#274799#5069. VacationllingyRE 3ms156064kbC++146.6kb2023-12-03 23:25:162023-12-03 23:25:17

详细

Test #1:

score: 100
Accepted
time: 3ms
memory: 156064kb

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

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: