QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#392604#8572. Passing Gameucup-team2008#WA 160ms145980kbC++174.6kb2024-04-17 17:50:592024-04-17 17:50:59

詳細信息

Test #1:

score: 100
Accepted
time: 12ms
memory: 129492kb

input:

2
4 2
3 2 1 6
3 1 1 3
2 0
1 2
1 2

output:

7
1

result:

ok 2 number(s): "7 1"

Test #2:

score: -100
Wrong Answer
time: 160ms
memory: 145980kb

input:

1
300000 204334
809492393 304618667 173130445 377106790 364888630 949045125 622060683 557772818 216607577 848817467 862855568 507840723 120816645 639713488 741781998 682531787 685261161 601686403 355792373 162819930 710057718 234560726 998604853 678957602 485413982 855985802 109303681 979706626 4822...

output:

0

result:

wrong answer 1st numbers differ - expected: '31313390701066', found: '0'