QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#314769#8133. When Anton Saw This Task He Reacted With 😩gs14004#WA 915ms67224kbC++2015.4kb2024-01-26 10:35:322024-01-26 10:35:32

詳細信息

Test #1:

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

input:

5 3
x 2 3
v 1 0 1
x 4 5
v 0 2 1
v 1 1 1
4 1 2 3
5 0 1 1
4 0 2 2

output:

998244351 0 2
1 998244351 998244352
0 0 0

result:

ok 9 numbers

Test #2:

score: -100
Wrong Answer
time: 915ms
memory: 67224kb

input:

199999 100000
x 137025 65661
v 572518668 158967010 74946561
x 129836 192657
x 141948 187810
v 574918069 328924434 141474729
x 143312 111002
x 52772 148497
v 922857701 690080961 651915759
v 656198340 28002884 129579416
v 639893144 265359784 646791226
v 796871409 411409966 598676495
v 882562617 224394...

output:

605123795 224477738 610947005
238284787 16469853 870231856
703632542 18232745 464602324
593864779 252947501 944750793
593678852 169374593 920223197
405749495 350493049 116816620
808225886 483001218 480063798
370063853 488259799 740814218
984507108 646156562 80833866
66193044 631653126 518312876
7983...

result:

wrong answer 1st numbers differ by non-multiple of MOD, - expected: '393120558', found: '605123795'