QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#343737#8133. When Anton Saw This Task He Reacted With 😩ucup-team2880WA 789ms71676kbC++204.0kb2024-03-02 23:15:112024-03-02 23:15:12

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 789ms
memory: 71676kb

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:

393120558 773766615 387297348
291233180 192378519 195169181
226287350 564034286 222085222
394989463 996319970 2105872
55363231 616911069 947580481
617304378 440329608 896359735
282190714 497202462 666589771
411810182 481729939 776109049
296446114 507845790 570099047
179174958 205695692 491470831
929...

result:

wrong answer 4th numbers differ by non-multiple of MOD, - expected: '759959566', found: '291233180'