QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#309483#8133. When Anton Saw This Task He Reacted With 😩ucup-team2045#TL 2941ms45184kbC++143.8kb2024-01-20 17:42:202024-01-20 17:42:20

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 22696kb

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: 1010ms
memory: 45100kb

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 -224477738 387297348
-238284787 -16469853 128012497
-703632542 980011608 533642029
-593864779 -252947501 -944750793
-593678852 828869760 -920223197
592494858 -350493049 -116816620
190018467 515243135 -480063798
628180500 509984554 -740814218
-984507108 -646156562 917410487
932051309 366591...

result:

ok 300000 numbers

Test #3:

score: 0
Accepted
time: 1383ms
memory: 45156kb

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:

-321176892 996514296 -549077502
-187841261 258196842 853459733
-587488197 253348518 -85579882
327134890 519245783 922528759
317367558 -461355816 506214109
-513490823 -119198571 772404948
-575324301 152084658 517340457
-997036451 348787162 -677423276
-221950475 -298769427 711114530
-126385880 -529746...

result:

ok 300000 numbers

Test #4:

score: 0
Accepted
time: 2941ms
memory: 45184kb

input:

199999 100000
x 72889 193806
x 35339 33069
v 314802407 406980523 492377265
x 108307 60027
x 144922 140917
v 328481079 117663280 644171354
v 482028404 951751561 166221217
v 936461869 436114879 421819757
x 152919 99965
x 61168 150607
v 56403640 743462679 134896557
v 24809217 462947115 966139991
v 7828...

output:

23709876 -617795986 -369084686
760678420 -458875163 -386466249
114926687 653692915 -58366939
-324044883 304745735 544123803
953800112 186017361 49200537
-670961571 -127242676 -704263640
588783157 -496113704 -807680056
-895563447 993889016 -34765598
510012481 105416897 281770975
-187161547 -631104535...

result:

ok 300000 numbers

Test #5:

score: -100
Time Limit Exceeded

input:

199999 100000
x 134204 79203
v 152855933 152545887 271660214
v 393332175 182708769 115884220
v 731792305 965028257 676889584
x 89631 14495
x 142016 85686
v 600051847 172947969 906920949
v 846126215 214556203 657929902
x 125721 133526
x 93179 35713
v 330716449 450417250 611411649
v 114397688 58644961...

output:

-858646737 -622769376 14619793
889328460 79727434 363703631
-600893251 -120282751 -569198163
-409876008 819425899 -496095614
520578911 186408072 484373545
997888597 -181710037 -659833074
-664078084 -710032769 608252640
-488963508 -635271961 -711828658
-634847393 878881251 3658455
711270872 94816531 ...

result: