QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#309817#8133. When Anton Saw This Task He Reacted With 😩ucup-team2956#TL 3958ms30652kbC++205.5kb2024-01-20 20:59:232024-01-20 20:59:23

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 9824kb

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:

-2 0 2
1 -2 -1
0 0 0

result:

ok 9 numbers

Test #2:

score: 0
Accepted
time: 3958ms
memory: 30652kb

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 387297348
-238284787 -16469853 -870231856
-703632542 -18232745 533642029
404379574 -252947501 -944750793
-593678852 -169374593 78021156
-405749495 647751304 881427733
190018467 -483001218 -480063798
-370063853 -488259799 -740814218
13737245 352087791 917410487
-66193044 3665912...

result:

ok 300000 numbers

Test #3:

score: -100
Time Limit Exceeded

input:

199999 100000
x 154525 80092
v 450407262 725458410 590777520
x 24720 135901
v 719242117 114943104 186796011
v 382530926 89156744 943939337
x 183376 26042
x 109984 157873
x 151637 150600
x 4115 27454
x 163135 92648
x 16764 33212
v 849210403 945083972 689295397
v 471196117 68587428 225597765
x 24643 5...

output:

677067461 996514296 -549077502
-187841261 -740047511 -144784620
410756156 -744895835 -85579882
-671109463 -478998570 -75715594
-680876795 -461355816 -492030244
484753530 879045782 772404948
422920052 152084658 517340457
1207902 348787162 320821077
-221950475 -298769427 -287129823
-126385880 46849758...

result: