QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#793795 | #9809. The Grand Contest | ucup-team2104 | WA | 1432ms | 193060kb | C++20 | 8.7kb | 2024-11-30 01:35:01 | 2024-11-30 01:35:01 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 5592kb
input:
2 6 20 1 1 60 0 2 2 60 0 2 2 120 1 1 2 180 1 1 2 180 0 2 2 300 1 2 20 1 1 300 1 2 2 300 1
output:
120 160 -1
result:
ok 3 number(s): "120 160 -1"
Test #2:
score: 0
Accepted
time: 387ms
memory: 5608kb
input:
400000 1 1 1 1000000000 1000000000000 1 1 1 2 1000000000 1 0 1 1 2 1 1000000000000 1 1 1 1 1 1000000000000 1 1 1 2 1000000000 1000000000000 0 1 1 2 1 1 0 1 1000000000000 2 1000000000 1 0 1 1000000000000 1 1 1 0 1 1000000000000 1 1 1 1 1 1000000000000 2 1000000000 1000000000000 0 1 1 1 1000000000 1 0...
output:
-1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 ...
result:
ok 400000 numbers
Test #3:
score: 0
Accepted
time: 117ms
memory: 5700kb
input:
10000 4 542575683220 2 101300788 7308006925 1 1 604560531 257884671293 0 1 46911674 422781533607 0 2 10550533 771273976896 1 116 793781361888 1 819065134 15224463201 1 2 552573547 15992997563 1 2 424217 27032314690 0 2 70252887 41541882886 0 2 274093456 46129251985 0 1 458919850 46344406806 1 1 8416...
output:
-1 -1 -1 -1 -1 66660446969 904724933033 -1 -1 -1 -1 -1 -1 37226106549 311799565893 -1 -1 -1 -1 -1 -1 48301734080 375528816957 -1 -1 -1 459021288402 632610827258 -1 -1 -1 -1 -1 -1 -1 688320095661 898231263806 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 21800224424...
result:
ok 10846 numbers
Test #4:
score: 0
Accepted
time: 107ms
memory: 5912kb
input:
1000 41 699991536758 1 846433454 45030190307 1 2 882516075 48235731920 1 1 488580715 68600854082 1 2 467682948 92731902940 1 1 218024396 138543808852 1 2 124969525 150196554430 0 2 989301314 181283691649 1 2 752581868 202920989593 0 2 164838619 269703109427 0 1 696316428 295229433897 0 2 711333918 3...
output:
329739379675 908226682656 -1 -1 -1 -1 -1 424620801981 831021050071 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 6963797897 888755778656 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 568768655870 677350535270 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 ...
result:
ok 1042 numbers
Test #5:
score: 0
Accepted
time: 102ms
memory: 4920kb
input:
100 5622 365182448552 2 639763453 293138584 0 1 150269480 461335412 1 1 215320018 935778069 1 2 455090474 986867198 1 2 137209887 1025838937 1 1 639542200 1323284104 0 2 975624632 1331236944 1 1 419729668 1535875032 0 1 754484749 1638561677 1 2 718600604 2047704086 0 2 793817561 2082808091 1 2 89416...
output:
-1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
result:
ok 100 numbers
Test #6:
score: 0
Accepted
time: 126ms
memory: 11892kb
input:
10 17647 497735816936 2 674642608 86555331 1 1 362561577 201254993 1 2 311798376 317505931 0 1 997152835 354905086 0 1 501042015 406191428 1 2 346791377 498440233 0 2 883536093 569248570 0 1 242082992 714310537 1 1 149897006 726750432 1 2 951017299 800159980 0 2 258554143 816615965 0 1 681430878 825...
output:
-1 -1 -1 -1 -1 -1 -1 -1 -1 -1
result:
ok 10 numbers
Test #7:
score: 0
Accepted
time: 145ms
memory: 36164kb
input:
1 400000 263629556026 2 954826535 1576313 1 1 970048058 1644473 1 1 100070583 1779363 0 1 862973854 2602197 0 1 544583759 6163089 1 1 292939527 13244435 1 1 818324382 16877678 1 1 255969879 32429661 0 1 578761398 33091132 1 2 337038014 34601245 0 1 46604309 39135309 0 2 501363911 40833345 1 1 210491...
output:
-1
result:
ok 1 number(s): "-1"
Test #8:
score: 0
Accepted
time: 1432ms
memory: 190964kb
input:
1 399863 925298013757 2 100628989 1 0 2 879908544 1 0 2 835150000 1 0 2 965097317 1 0 2 806475166 1 0 2 883153545 1 0 2 537871549 1 0 2 666240466 1 0 2 772690810 1 0 2 468000116 1 0 2 57197741 1 0 2 752910244 1 0 2 34579873 1 0 2 764798890 1 0 2 385606621 1 0 2 359331506 1 0 2 280339733 1 0 2 485810...
output:
93600917303 93601131398
result:
ok 2 number(s): "93600917303 93601131398"
Test #9:
score: 0
Accepted
time: 1411ms
memory: 193060kb
input:
1 399494 961261170252 1 500382911 1 0 1 343020544 1 0 1 754347645 1 0 1 333064084 1 0 1 478385269 1 0 1 622968098 1 0 1 980169601 1 0 1 352209103 1 0 1 402748538 1 0 1 218430474 1 0 1 288936411 1 0 1 5773706 1 0 1 698161932 1 0 1 366209929 1 0 1 73511871 1 0 1 725720796 1 0 1 888663191 1 0 1 3011404...
output:
93601000787 93601218921
result:
ok 2 number(s): "93601000787 93601218921"
Test #10:
score: 0
Accepted
time: 78ms
memory: 19932kb
input:
1 400000 663010 1 680238422 483214 0 1 680238422 521442 0 1 680238422 609593 0 1 680238422 1476058 0 1 680238422 2424603 0 1 680238422 2483379 0 1 680238422 2777054 0 1 680238422 3992033 0 1 680238422 4038346 0 1 680238422 4500144 0 1 680238422 4613302 0 1 680238422 4698260 0 1 680238422 4860707 0 1...
output:
-1
result:
ok 1 number(s): "-1"
Test #11:
score: 0
Accepted
time: 65ms
memory: 20216kb
input:
1 400000 79784 1 110051200 202567778970 0 1 110051200 202567778970 0 1 110051200 202567778970 0 1 110051200 202567778970 0 1 110051200 202567778970 0 1 110051200 202567778970 0 1 110051200 202567778970 0 1 110051200 202567778970 0 1 110051200 202567778970 0 1 110051200 202567778970 0 1 110051200 202...
output:
202567778970 879492417995
result:
ok 2 number(s): "202567778970 879492417995"
Test #12:
score: 0
Accepted
time: 89ms
memory: 20112kb
input:
1 400000 48790 1 554756625 480690 0 1 554756625 3230620 0 1 554756625 3409127 0 1 514075804 3753536 0 1 554756625 4724772 0 2 188054527 5311431 0 1 100903989 5807895 0 1 933163205 7291004 0 2 382472190 8139517 0 1 239315307 8310712 0 1 554756625 8348744 0 1 14438382 8939856 0 1 554756625 11989642 0 ...
output:
13251717318 599133935039
result:
ok 2 number(s): "13251717318 599133935039"
Test #13:
score: 0
Accepted
time: 70ms
memory: 19972kb
input:
1 400000 255041 2 181766528 25787236213 0 2 181766528 25787236213 0 2 181766528 25787236213 0 2 181766528 25787236213 0 2 181766528 25787236213 0 2 181766528 25787236213 0 2 181766528 25787236213 0 2 181766528 25787236213 0 2 181766528 25787236213 0 2 181766528 25787236213 0 2 181766528 25787236213 ...
output:
306238410801 624516496355
result:
ok 2 number(s): "306238410801 624516496355"
Test #14:
score: 0
Accepted
time: 88ms
memory: 21652kb
input:
1 400000 952892 1 669079782 5249 0 1 669079782 1051034 0 1 669079782 1478798 0 1 643031526 2194715 0 1 669079782 2318113 0 2 195012273 3054972 0 2 608030266 3674227 0 1 927916867 3904831 0 1 669079782 4349111 0 2 214184786 6595409 0 1 669079782 6663358 0 2 403805672 6933063 0 1 669079782 7146955 0 2...
output:
13932447919 987373706861
result:
ok 2 number(s): "13932447919 987373706861"
Test #15:
score: 0
Accepted
time: 73ms
memory: 20644kb
input:
1 400000 445351 2 43725609 629636445 0 2 43725609 629636445 0 2 43725609 629636445 0 2 43725609 629636445 0 2 43725609 629636445 0 2 43725609 629636445 0 2 43725609 629636445 0 2 43725609 629636445 0 2 43725609 629636445 0 2 43725609 629636445 0 2 43725609 629636445 0 2 43725609 629636445 0 2 437256...
output:
-1
result:
ok 1 number(s): "-1"
Test #16:
score: 0
Accepted
time: 113ms
memory: 21416kb
input:
1 400000 737917 2 104548428 355151 0 2 798447330 563764 0 2 807313778 726293 0 1 225967449 777825 0 1 76979820 830949 0 2 798447330 1204358 0 1 152843063 1242227 0 1 147816717 1604061 0 2 884732354 2045708 0 1 899307173 2280899 0 1 923713510 2447044 0 2 807313778 2651301 0 2 148086652 2704087 0 2 79...
output:
294972586721 744194775850
result:
ok 2 number(s): "294972586721 744194775850"
Test #17:
score: 0
Accepted
time: 94ms
memory: 21584kb
input:
1 400000 797979 1 698025121 76252326 0 1 698025121 76252326 0 1 698025121 76252326 0 1 698025121 76252326 0 1 698025121 76252326 0 1 698025121 76252326 0 1 698025121 76252326 0 1 698025121 76252326 0 1 698025121 76252326 0 1 698025121 76252326 0 1 698025121 76252326 0 1 698025121 76252326 0 1 698025...
output:
297321818946 857889105465
result:
ok 2 number(s): "297321818946 857889105465"
Test #18:
score: 0
Accepted
time: 221ms
memory: 36588kb
input:
1 400000 559759 1 334035078 470519 0 1 768140446 2967944 0 1 77040897 3088991 0 2 493261355 4283608 0 2 914055376 4561618 0 1 249929265 5223548 0 1 471764388 5364482 0 1 438202587 6820774 0 1 548072976 7173586 0 1 152064110 7904320 0 2 187798068 9277616 0 2 554380228 11571775 0 2 999624048 11848525 ...
output:
368607061812 459867556579
result:
ok 2 number(s): "368607061812 459867556579"
Test #19:
score: 0
Accepted
time: 189ms
memory: 37244kb
input:
1 400000 923129 1 830682125 6777784 0 1 830682125 6777784 0 1 830682125 6777784 0 1 830682125 6777784 1 1 830682125 6777784 0 1 830682125 6777784 0 1 830682125 6777784 0 2 502376403 98306211 0 2 502376403 98306211 0 2 502376403 98306211 0 2 502376403 98306211 0 2 502376403 98306211 0 2 502376403 983...
output:
603264713406 904051411073
result:
ok 2 number(s): "603264713406 904051411073"
Test #20:
score: -100
Wrong Answer
time: 885ms
memory: 5828kb
input:
10000 34 713414155711 1 353899840 4470478880 1 1 101300788 14617874162 1 2 224463201 46129251985 1 2 997067155 53850132914 1 1 493411629 67237771644 1 2 60685412 153612550178 1 2 932182989 159471048139 1 2 821881991 174028196456 1 2 887385900 188331357182 1 2 819065134 200111294061 1 2 348545253 247...
output:
483871970490 840598269617 196200037892 970964066001 283567194848 914830957817 -1 -1 224079150450 800412473197 100330184885 227585151128 50506210564 783882723066 406628103960 924434625801 634770465011 738356832148 16323343084 723566375795 28913275304 938587397050 -1 461193028837 931629993981 36470471...
result:
wrong answer 1028th numbers differ - expected: '72962481167', found: '55354477264'