QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#274807#5069. VacationllingyWA 688ms177704kbC++146.6kb2023-12-03 23:47:432023-12-03 23:47:44

详细

Test #1:

score: 100
Accepted
time: 8ms
memory: 153268kb

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: 0
Accepted
time: 688ms
memory: 177704kb

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:

999902477
999981999
999343404
999847372
999957587
998160312
999981999
999981999
999981999
999980061
999981999
999981999
999981999
999876122
999981999
999996602
999981999
999981999
999981999
999723649
999981999
999957587
999896087
999981999
999981999
999981999
999981999
999981999
999957587
999981999
...

result:

ok 250051 numbers

Test #3:

score: -100
Wrong Answer
time: 644ms
memory: 165644kb

input:

200000 500000 5
802774074 383481934 -295470374 285359286 751657057 197444479 626916547 -828168464 288373833 -493446966 -208422769 956745384 919286225 959643271 -176531848 -380256966 357111771 -50890039 -637284768 -337010918 259019684 752475630 -259898780 98620995 -704832505 -532710796 -971600790 -84...

output:

158334230130
50697446144
151015996405
2770770271
142333004593
158334230130
151015996405
158334230130
158334230130
122685373747
151015996405
126349239703
127503796791
158334230130
158334230130
133971297141
158334230130
158334230130
158334230130
151015996405
151015996405
158334230130
151015996405
5069...

result:

wrong answer 1st numbers differ - expected: '4544135313', found: '158334230130'