QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#117158 | #6667. Prosjek | znstz | 16 | 307ms | 34904kb | C++14 | 2.3kb | 2023-06-30 15:20:01 | 2023-06-30 15:20:03 |
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
Subtask #1:
score: 0
Time Limit Exceeded
Test #1:
score: 0
Time Limit Exceeded
input:
99 4 739880851158065302 19206582949872932 883064254701115295 222072661880779376 7 148399819461615003 209088712310207988 53191076581680214 445068618251612752 230505279594622109 115754892157516718 804173775829453588 2 77979357045500669 41693388829622019 3 341612949433488278 609808714829036935 19994167...
output:
result:
Subtask #2:
score: 0
Time Limit Exceeded
Test #16:
score: 0
Time Limit Exceeded
input:
100 3 3 3 2 3 4 1 1 4 1 3 4 4 6 4 4 2 3 1 2 4 0 2 1 4 3 0 2 0 7 3 3 1 1 3 4 0 2 0 4 4 1 4 2 3 7 4 0 0 3 2 3 4 4 4 2 0 3 7 0 2 2 1 4 2 4 7 3 0 3 1 2 0 3 4 4 3 1 4 6 2 3 0 1 3 4 5 1 4 0 3 4 5 4 2 0 4 2 3 0 1 2 6 4 1 4 2 0 4 7 4 2 4 3 1 3 1 4 1 4 4 0 2 1 1 6 0 3 3 0 0 4 7 4 3 0 3 3 3 4 4 4 1 1 3 6 2 0 ...
output:
result:
Subtask #3:
score: 16
Accepted
Test #34:
score: 16
Accepted
time: 170ms
memory: 11844kb
input:
100000 5 846784256447769304 457696478728961702 128469521648960690 597630796847754190 104256763714529164 5 658897822238868978 472135077337628566 399538027669313322 622703684108675696 425723088635325654 5 917704960887390986 140817562615382054 877934664521057998 782212806618666818 616380973421914538 8 ...
output:
846784256447769304 128469521648960690 597630796847754190 457696478728961702 527663637788357946 104256763714529164 315960200751443555 487626889048364997 622703684108675696 399538027669313322 472135077337628566 658897822238868978 425723088635325654 565516449788248772 495619769211787213 511120855888994...
result:
ok correct (100000 test cases)
Test #35:
score: 0
Accepted
time: 170ms
memory: 11624kb
input:
100000 4 132941437397264810 143141501854884272 958712444844113692 341497234016264540 7 923004266892618172 15365813785503270 930609521602302292 819335542601433618 213670074288711286 150311691204302148 244405681344585926 5 371893080714371800 575829750571342010 292988012239447120 115093373296591180 268...
output:
341497234016264540 958712444844113692 143141501854884272 650104839430189116 396623170642536694 132941437397264810 930609521602302292 150311691204302148 244405681344585926 819335542601433618 531870611973009772 213670074288711286 923004266892618172 540460606403302220 15365813785503270 7317324366479601...
result:
ok correct (100000 test cases)
Test #36:
score: 0
Accepted
time: 172ms
memory: 11740kb
input:
100000 4 928198344825292264 690070772109811286 244045206839989604 561025252182682906 3 627239866615848210 42470017740412280 54251562555326842 3 490057757292451598 818062735467254804 348318035919019310 2 551686081736618768 194488231774246450 3 112852023970360962 332810104058707034 451110399052627062 ...
output:
561025252182682906 928198344825292264 690070772109811286 244045206839989604 467057989474900445 744611798503987585 627239866615848210 54251562555326842 42470017740412280 340745714585587526 348318035919019310 490057757292451598 818062735467254804 419187896605735454 194488231774246450 55168608173661876...
result:
ok correct (100000 test cases)
Test #37:
score: 0
Accepted
time: 229ms
memory: 11880kb
input:
50000 15 970453612553526824 403854393807928174 722892131244078370 35115189723455662 375191889860000444 915405723947874872 635574780184696680 264400470199418708 859039596531178468 27938184881043946 553805664139227226 876314307095280030 571028682295683456 30435765695090076 81051167961127742 20 7987413...
output:
722892131244078370 403854393807928174 571028682295683456 375191889860000444 876314307095280030 553805664139227226 563373262526003272 635574780184696680 30435765695090076 859039596531178468 715059985617253628 599474021355349976 264400470199418708 473110286077841950 657267003486301802 8105116796112774...
result:
ok correct (50000 test cases)
Test #38:
score: 0
Accepted
time: 258ms
memory: 11684kb
input:
50000 20 998788559176849620 191593882411529926 342711646561735406 56435783243285828 213144199738872896 552932543009462260 862655508602678778 197769932466201968 649107231900330578 606332158266321414 679519095246181928 69228654018660218 907522706303602556 706594708190768848 317996892998797510 98299001...
output:
862655508602678778 552932543009462260 801974222113409124 342711646561735406 572342934337572265 707794025806070519 82951860797867962 233934493014788330 998788559176849620 907522706303602556 982990013470682716 317996892998797510 953155632740226088 280145788708142508 706594708190768848 6166507107241842...
result:
ok correct (50000 test cases)
Test #39:
score: 0
Accepted
time: 250ms
memory: 11848kb
input:
50000 19 687533614023914694 738663892302361454 628044408557611320 475365328934162610 242048409095362442 254414508714647088 415287407545536222 333427085181162020 691789987581261114 501496830456417768 370865072857248388 610878478005084624 460491699469405256 995621599317911412 72184531803437802 5221300...
output:
242048409095362442 370865072857248388 333427085181162020 610878478005084624 72184531803437802 995621599317911412 533903065560674607 306456740976305415 472152781593123322 501496830456417768 402837784917503802 415287407545536222 486824806024770545 420179903268490011 460491699469405256 4090625962315200...
result:
ok correct (50000 test cases)
Test #40:
score: 0
Accepted
time: 251ms
memory: 11752kb
input:
30000 25 701453932981408346 465306500019836282 792774089369512740 928134668660137906 489548012753296822 563069662510759842 456553328586506700 752651620972947846 610563120623014800 946872198162810216 382124190056540228 528408240467204940 156080508230960224 755279683495886594 353003950140523154 726814...
output:
187841411256048522 353003950140523154 489548012753296822 671093790812801428 946872198162810216 331430792491044112 304233754191711742 928134668660137906 616184211425924824 639151495326927164 759546580482469476 691288776835558270 264865148139811024 755279683495886594 792774089369512740 382124190056540...
result:
ok correct (30000 test cases)
Test #41:
score: 0
Accepted
time: 243ms
memory: 11744kb
input:
30000 24 802553849623129746 211707666543464912 78106851365388652 41150834245659428 824295231323480318 65220471583082028 504011063830422278 582465764474213950 653316240753155704 254391730000013712 73470169815090336 70058062306145696 320805890715812130 762434076887201766 107191591092647094 66623182252...
output:
40187248199180534 802553849623129746 73470169815090336 684143755784659968 476075710640293640 254391730000013712 211707666543464912 365233720320153676 762434076887201766 378806962799875152 421370548911155140 320805890715812130 570620519843538459 371088219813483635 288470693431809294 80126251602700071...
result:
ok correct (30000 test cases)
Test #42:
score: 0
Accepted
time: 227ms
memory: 11676kb
input:
30000 27 457692759396051910 105542225399435134 28952855744712754 551775949854678384 243201017518706110 830727952675976422 770508119165800012 202072001288194376 842102259870000526 184524967708115324 636362069740656520 654459612358466674 183209892432401444 100513548134942846 72707763558771580 42597951...
output:
72707763558771580 654459612358466674 100513548134942846 105542225399435134 184524967708115324 183209892432401444 636362069740656520 770508119165800012 935240383379985812 300417521345265250 183867430070258384 80157746650466448 363583687958619127 617828952362625531 243201017518706110 96879330736607336...
result:
ok correct (30000 test cases)
Test #43:
score: 0
Accepted
time: 277ms
memory: 32688kb
input:
100 365633 240280625535601202 938026129049958522 147115906397155306 652580989323075650 725975096118295602 205776298062652394 601103849421971138 331987681752388762 840580362429635958 835259996207496842 119358021292888398 319502650126227206 963133797479057582 879470558738716974 741484002023142690 3370...
output:
772541807691996254 636386081548552682 766452233160988906 950336979160003998 396485703109036682 800459085928894154 422601465073786394 598448521015964962 775996923684957738 711629876276774182 175937872257775594 323784163309328522 933550184090100250 710707610911088894 105638696851132830 190754235091076...
result:
ok correct (100 test cases)
Test #44:
score: 0
Accepted
time: 285ms
memory: 34904kb
input:
100 468798 784219641558971418 868193736931466770 709669653094040434 820342537947112058 551143489403660526 267279653811163658 370522601251248390 368960240455457934 377406818992348662 446571520515917398 203417725700526758 781465163407686018 793863659816666930 689102809204233742 460833182899194594 8845...
output:
729327072994577046 366255829789323018 233015410617749370 831320945054269646 197444023980165218 329763923386927110 828784978432273482 968115762861028198 239944537058385106 544192814077712386 604784018504740238 704378854564101882 424151382940602714 961483227850844950 264343983618932410 279696972050462...
result:
ok correct (100 test cases)
Test #45:
score: 0
Accepted
time: 307ms
memory: 33520kb
input:
100 335003 576606818757903242 39138102231712338 101565358810296722 500967049719563958 60093483316193590 435418544638688670 883896893287765898 482015906798694930 208166390296394766 603169642587608970 697598340090102702 37116072285605102 692409274069565602 359039270687175358 598214522887322026 9588135...
output:
337527529029703262 284917175821439354 124485541134959318 630332600305984142 944638954892833350 95636998083865134 71547923538600318 172415901611391158 5148837796294218 373408324351446318 330951670991855358 347065413019172414 237722850311824374 396592125426625286 878907567568098958 470683175225300486 ...
result:
ok correct (100 test cases)
Subtask #4:
score: 0
Time Limit Exceeded
Test #46:
score: 0
Time Limit Exceeded
input:
100 211957 911918942087402387 344230223346742784 16289402153237664 528890583619159010 886281719684850237 865484734102017297 321851390502278959 754268375474197153 237414161302130571 135637002716682378 824412491959977735 162505521049217610 246319278060116103 666703181591704279 650875500699154233 96397...
output:
321187170091945948 473010114395081966 725965440764587980 349624728581296672 109091780297049595 196311652121371241 873159841224679128 2645719234803850 337171410867006002 786957271604569760 123006919797601416 740039419238039078 784288572432959509 176551647040656365 868318840156486959 22058718583296882...