QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#672905 | #5028. 数据传输 | tzl_Dedicatus545 | 60 | 946ms | 574932kb | C++14 | 2.9kb | 2024-10-24 19:47:27 | 2024-10-24 19:47:27 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Pretests
Final Tests
Test #1:
score: 4
Accepted
time: 0ms
memory: 14084kb
input:
10 10 2 57043127 114640239 300424980 586888163 188477607 911965278 472340743 394877244 529138013 894751964 2 1 3 1 4 1 5 1 6 3 7 4 8 3 9 2 10 8 9 1 1 6 3 7 1 4 2 8 7 2 4 7 9 10 4 8 6 4
output:
586181140 969008405 829808850 643931290 566560610 644024109 1059228906 1781358084 1038808534 1555896568
result:
ok 10 numbers
Test #2:
score: 4
Accepted
time: 2ms
memory: 12116kb
input:
10 10 3 515461247 122469426 373419357 240246417 683468566 136602763 70320484 55231411 400641186 452855354 2 1 3 2 4 1 5 3 6 5 7 3 8 5 9 4 10 2 3 6 3 7 10 1 2 1 6 1 5 6 5 3 2 3 7 2 1 10
output:
510022120 443739841 968316601 637930673 722384494 820071329 1056887923 495888783 192789910 968316601
result:
ok 10 numbers
Test #3:
score: 4
Accepted
time: 3ms
memory: 14396kb
input:
200 200 2 223968218 279546838 804128057 76136095 361002367 152766393 224622942 450584850 230701855 154660621 306829806 190625325 722152088 986210137 462998048 708950403 714449081 971865798 732215644 183140358 409740805 89676634 307902534 200108055 883429723 74444782 116503412 674858377 848164089 303...
output:
3329480845 2414638020 1193057378 2216673220 2742703313 1292216576 882438338 2816443547 2084332685 1624544084 2597390379 2314199284 1749504275 2456963075 1035160187 1082642373 2309071590 2493574805 3402474073 2043882686 1946208623 3751030442 1571784796 1230120965 1644388428 3180354474 1327722947 1913...
result:
ok 200 numbers
Test #4:
score: 0
Wrong Answer
time: 0ms
memory: 12788kb
input:
200 200 3 176782478 155141627 297494671 180537349 532916478 961539569 78976947 158315435 670899511 760142378 291469994 266683441 774833510 18029808 339001059 788354476 783659847 114670822 60879075 302690373 224735989 446295810 807838939 407453575 173495758 397878799 853331083 599045920 762541602 992...
output:
1344686690 1922166474 624840298 1954098629 1221674308 1373473619 1652725754 1464221120 1823876497 1226360389 1202266276 2065257483 2150734081 1502456723 1236514573 1606750928 923980449 1144281834 910526154 1076947097 1798736949 856430520 400677655 1009859201 1507139391 1667701713 1090261924 12854189...
result:
wrong answer 1st numbers differ - expected: '1377206757', found: '1344686690'
Test #5:
score: 0
Wrong Answer
time: 3ms
memory: 14304kb
input:
200 200 3 127953188 850857284 995440016 953226857 628645514 639353037 819001961 628506232 240703490 805394937 937931790 820002974 844414450 202013773 480163530 850684519 695435434 714475561 541843670 120800798 723981875 766637061 403596753 489340938 375706669 724985334 845735198 196683646 791294118 ...
output:
2080955082 944841885 1129407329 1794833827 1290361846 727510063 1145357715 1728908607 1376053342 1566214936 2297445138 778023090 637240123 1334508094 1335813840 1847968014 939893216 1195491513 2088748660 1479067905 1634549090 1511975932 1135013770 1087374139 1598266636 1062643128 1506134671 11705907...
result:
wrong answer 1st numbers differ - expected: '2662412204', found: '2080955082'
Test #6:
score: 4
Accepted
time: 3ms
memory: 19552kb
input:
2000 2000 1 791398027 457328826 524997827 926923746 703062867 609666517 296105790 636884928 150780008 698672787 574977042 922767612 421607428 921198637 242696650 206132657 259266820 945184303 435927427 832676853 839279467 391036132 196282242 52905720 210130604 651855061 741538232 520393834 363636092...
output:
42041464771 18889087191 66782845178 40072064443 16342766711 66514794934 50695097840 37791383513 28773129797 67890765593 60057682947 20662583641 3463439634 64374551096 46019217960 50011860957 34608996981 29948988473 51711007267 41567830874 27742433289 38593932973 55765711657 62110756848 62970279549 6...
result:
ok 2000 numbers
Test #7:
score: 4
Accepted
time: 0ms
memory: 18776kb
input:
2000 2000 1 283202861 353285715 170004396 987475661 846798199 149140675 1047852 893406938 478011704 780865995 822684137 128745020 788786376 330027584 696897962 87188988 448887723 446272288 155010924 344647082 144685703 720369214 453929934 371880509 94548716 634595924 139369282 617399223 495885233 81...
output:
28997560269 54703180939 39650660223 37573940081 68234824942 41735312012 34530505831 42778610565 33194260495 22862088206 58434556028 13453698126 69809390028 69730291843 9854287008 19387758863 42110221455 17420179059 50509788937 32278466545 46422433228 68899338477 66907555471 38996582180 71989460014 4...
result:
ok 2000 numbers
Test #8:
score: 4
Accepted
time: 3ms
memory: 22080kb
input:
2000 2000 2 477962049 357310609 49569644 762045946 513093177 172502924 840480472 384236457 466978413 919102330 531808949 240644517 109880813 172960581 805708544 605568484 938572271 761485109 613318012 930553171 985612814 878463377 344235213 455992449 684751345 588339162 145676555 700797512 492788888...
output:
29983557999 29011152654 19594941855 18247650187 21759124309 9368180294 28726378032 23271352215 5196824677 21566640940 19311483235 27424697627 15301799566 17470508198 8339206684 24049039729 16784047317 15601388489 19384219177 8922482301 25572492957 21424295425 28980901973 20263222662 26976450546 8856...
result:
ok 2000 numbers
Test #9:
score: 4
Accepted
time: 3ms
memory: 22308kb
input:
2000 2000 2 849171432 610016805 13460859 85361280 726104123 242459901 132745157 443488393 89209767 558402173 21245766 484956514 683999853 276799688 836712764 530500100 593549395 400602997 317296953 188881273 626767696 552722928 832417407 338341579 941783375 795875379 207031476 8834470 752285013 3449...
output:
16303931454 23602415227 18685101430 17995592360 20730227965 33085738616 26248582296 8681272695 13878760245 16882386489 16780403099 21343890617 18189596883 15001665432 32009321287 23428440698 26924780252 23231389167 18572957235 29650539297 19190166017 13061590668 12151168181 24259384838 24410449643 2...
result:
ok 2000 numbers
Test #10:
score: 0
Wrong Answer
time: 3ms
memory: 17472kb
input:
2000 2000 3 674720623 934797442 155500363 66459381 19632645 493098328 552611900 948869229 303034530 274396006 316128880 41917083 631067049 639189155 964066658 866287434 776109179 658808759 722888744 456156958 160619317 62943355 265517427 543777129 153729772 657027477 205880251 212942740 328365478 15...
output:
12249167027 12303853204 6305299951 9397997041 3612895157 8921532331 10940505475 8051806056 11666492220 8047160884 5475006758 8290305642 12690265779 3964220719 7612441682 4070656697 11535148202 8874481211 14119065829 5696835662 2774510106 2902381037 7143178099 8674217136 10408429078 7240198497 807634...
result:
wrong answer 1st numbers differ - expected: '14206756439', found: '12249167027'
Test #11:
score: 0
Wrong Answer
time: 7ms
memory: 19744kb
input:
2000 2000 3 7751220 424592706 436527153 938291539 533734131 4187423 93817061 218417998 951932250 192375824 177111688 759553000 283107015 144759912 38317095 904618991 403411806 997000874 374491318 452803484 356143250 301231041 35859528 180155794 471706454 736410170 983253985 712896149 479081406 74729...
output:
12650278327 2840304264 5934940332 7160037588 9056681404 2866967748 6577680536 7883013804 4910065088 9910362720 2859364699 6435739725 8951735066 8653589310 8912972968 8654866046 8732723778 11308356941 11422168693 10139492459 9193257720 10542390672 9993391501 8963337868 8305660889 9706068666 112289133...
result:
wrong answer 1st numbers differ - expected: '15147970147', found: '12650278327'
Test #12:
score: 4
Accepted
time: 528ms
memory: 574700kb
input:
200000 200000 1 695456877 892658391 763944388 743150795 452335096 61168835 3866364 278513674 50556704 968611038 376908838 833509255 621674731 679021879 182628321 830344024 235614520 320757868 766981416 596244132 840289331 260772962 843012586 507304370 328969643 268794794 49491706 99465589 228164110 ...
output:
3081267356875 301146127644 3400057849565 4392908465725 3219514648425 3681051597010 1027253261632 2907631647627 3627594289975 3765393672075 1296800462415 4627247729200 6289669466069 5022320436879 3672859006415 6231215734188 4377401901853 1842693674837 5027897457569 2243303919653 6277164799201 3955890...
result:
ok 200000 numbers
Test #13:
score: 4
Accepted
time: 505ms
memory: 574932kb
input:
200000 200000 1 417036424 488546437 447012361 994169462 941417538 898626749 894816945 259185353 205896643 937002846 557778931 383027592 148610964 419701033 206180971 868582959 214328409 19928827 440457168 202644665 642218329 195601783 348415590 948556019 387287561 564889979 302340906 319482628 73287...
output:
4341718346571 3556980938316 6223384148888 2395774929202 2353331543 4111041357760 4590131901806 5661202274580 3555935072810 806870748354 3096826030415 6114167140064 3691573683780 2464531864935 2613988827593 2632961767541 6228592593358 6221440171207 3689149039169 2875330562592 4715658207330 2785462379...
result:
ok 200000 numbers
Test #14:
score: 4
Accepted
time: 103ms
memory: 152864kb
input:
50000 50000 2 498297379 491548861 864758767 944478100 832335145 385407541 954133358 381556126 974207696 438293459 850388870 473166758 117638824 720969237 541172963 618998533 263243840 231074016 502369825 532383791 752713307 225204691 713073429 447770655 843223078 495340828 962620576 971188476 607937...
output:
4124707077 4607451920 3060767458 5882066184 5086614406 4227677600 6783993714 6478502999 4553001306 4991136006 4193305835 5184044866 4942766201 3291030471 5948257497 5282933743 4774506671 2832464456 6730525912 6987248810 7512128345 4164308406 4295999237 7155935163 3039864940 5707325094 3661903028 568...
result:
ok 50000 numbers
Test #15:
score: 4
Accepted
time: 206ms
memory: 291672kb
input:
100000 100000 2 63673641 67030038 324410766 343547741 539565125 724489486 430117091 782244102 952316098 547129150 372665860 432380922 898876294 628046882 700257136 792389438 813750842 185112769 125837189 80145639 157421726 454720210 121808583 446353921 481374134 121038090 54858450 466384528 47515189...
output:
6756964444 5815943980 4208539988 4274784744 2581753497 5010548910 2707169638 6708959142 6881779430 4204443669 4254832363 4056652261 3962616814 3695245398 5780877168 3115180230 5917232577 4394038359 6233744473 4657092069 5962650028 5144171885 5969360500 2564468455 3034515052 4914209273 2868692013 541...
result:
ok 100000 numbers
Test #16:
score: 4
Accepted
time: 220ms
memory: 293436kb
input:
100000 100000 2 283302923 244571699 345481811 837440846 864287069 453622266 770313783 190364218 473758234 9681 530528006 247823302 457955758 605323783 50352607 142180942 96021506 712846431 733694414 499142034 758937658 828610196 259268249 874183515 456131891 646937962 775359856 196167414 690126584 3...
output:
6829693200 5790766343 6432132361 5229158518 6817234756 4674928479 7757647365 3680238391 5157113105 5054316797 2999033276 4088923259 4263494144 4208542200 2657481514 3690022244 5218899574 4443432731 4611807605 3585316109 4984042519 5768612433 3343430598 5061528144 4229328878 5170896201 3762140876 649...
result:
ok 100000 numbers
Test #17:
score: 4
Accepted
time: 622ms
memory: 574540kb
input:
200000 200000 2 200236719 618601718 386564718 274404635 934739744 12629773 117393307 828845968 994191893 838162678 790805418 436568112 108906836 513987363 999783271 696462064 442410411 625986171 882821213 217995663 899960102 968016526 175418193 269842139 143315593 865292084 648285990 988251819 30487...
output:
2240829334500 1241242999028 1795657991239 2241426471053 795533842988 579473111857 2603045312573 963771597559 1306380975780 2571414842363 1759921911120 1464440212391 1519557975683 384806256126 1297067329314 1545956124345 1360630204549 1066232477364 750761999572 821978793397 1938849009788 164398840178...
result:
ok 200000 numbers
Test #18:
score: 4
Accepted
time: 638ms
memory: 571856kb
input:
200000 200000 2 776858017 42767830 473557297 471451227 961827466 200289406 519534320 189375279 162905067 929179624 668704457 611622739 360996755 565197680 936250674 108191 890388015 771689258 883189935 837823859 107317119 862568728 989027318 242379534 732319732 487807420 191383956 921382397 69222509...
output:
2045095402240 2100792924110 1447441827853 2311415492969 2170214122551 2028942626644 2036898608019 1066854043038 1951945290029 2575223880911 2594933475216 2117021591654 1942271580659 2616783696841 568939273614 747744193438 1980264152754 1159478317473 1733652555693 2042410348722 1828253303275 99458176...
result:
ok 200000 numbers
Test #19:
score: 4
Accepted
time: 649ms
memory: 572208kb
input:
200000 200000 2 252704213 371497871 264302367 711916367 161191627 335243684 269994157 735149218 705062269 371067374 678135026 410366486 582584451 834760627 72803941 297628496 24126047 373655420 306571749 42033762 785211920 696274888 168344196 317288161 361242479 870443212 95402672 492776370 31941477...
output:
1970040987523 841035849488 2172145851824 1774176457988 796723068512 856188652830 1728928980826 2229391706254 1344638410644 1485125660169 1969265970299 1119685323397 472880801143 2535658215240 1491729020544 2277390435206 179805237369 809860838914 1401285582238 2612007463735 1003314563673 246324274962...
result:
ok 200000 numbers
Test #20:
score: 0
Wrong Answer
time: 128ms
memory: 152500kb
input:
50000 50000 3 653075247 723689266 146086504 444881300 384510129 697744570 447594197 639684229 109666614 783650209 866231264 404872369 691284754 763383965 597951098 545697312 284950787 991415980 361344591 658242979 746347271 978921156 151320227 826024891 378448148 18992710 648719611 446644526 3468439...
output:
2100985236 1338705924 1470962506 1725201023 2195468475 1564970630 2178494818 1491360087 637544782 2085640991 1911820863 1381456391 2813592047 2039660909 772707285 1941041476 529878403 937699334 2138291660 2185585386 2116290407 3181982808 1998487659 1559613357 2226388499 1707002300 2468659395 2213261...
result:
wrong answer 1st numbers differ - expected: '2188937297', found: '2100985236'
Test #21:
score: 0
Wrong Answer
time: 291ms
memory: 294460kb
input:
100000 100000 3 113359868 791441816 207316844 693352644 225888969 256104424 346030925 434438127 442343660 659758696 684851434 626582881 272974443 741756660 317397903 514746385 197546424 191744001 391704115 739607663 675911498 926788934 869731803 632764294 488151203 203046412 25175738 675019674 38497...
output:
1225017087 1423187676 2156542473 1985540808 1836541335 1626232776 1837029934 267271419 2415101364 1954250613 1635086395 1968879549 2612859972 1149896802 1658554891 2143472824 1407162970 2541627940 1971799312 497288426 1654319901 1957283761 2024865776 2036568642 2053674300 1840941323 1711753914 18082...
result:
wrong answer 1st numbers differ - expected: '1743966341', found: '1225017087'
Test #22:
score: 0
Wrong Answer
time: 288ms
memory: 293720kb
input:
100000 100000 3 944093571 632736881 63816942 692619760 48260549 182990463 721635018 671204726 136184850 668667040 5654618 611704253 888364943 396361734 437815652 334006230 714212340 142601163 734990669 242860377 243719025 858108041 644313793 633380622 852649401 209412730 119887323 162008449 10150668...
output:
1735072295 1076893435 1807143493 2332155936 1453515074 2123975285 1775051628 1920829669 1850591701 1534482628 1884747711 1584595265 1411231035 806184166 1357541748 1890822874 354344326 1897179174 1863638215 2557332961 2285595158 1563930436 2168415893 1096224193 666333167 900521877 1298079876 1314488...
result:
wrong answer 1st numbers differ - expected: '2393833073', found: '1735072295'
Test #23:
score: 0
Wrong Answer
time: 936ms
memory: 574688kb
input:
200000 200000 3 977396722 819404382 384101214 84175008 87296565 518543151 459065290 400515430 158601838 762243 945621850 689016819 448773703 285292534 424999345 84025915 988918480 251902337 763130547 458598520 646617548 290908930 561544488 202785262 359292639 170319249 428845948 55707661 248032433 2...
output:
777927680271 490500137375 911278078160 379417611524 412257972006 1070609804902 467658905923 31255282354 1148462208666 1147091430237 416679611632 599253245494 1040335386550 777111553977 585768721468 768150882395 801179645316 1110159920663 657002694213 1134684751541 926919513187 999791917 327787632039...
result:
wrong answer 1st numbers differ - expected: '968997576132', found: '777927680271'
Test #24:
score: 0
Wrong Answer
time: 942ms
memory: 572500kb
input:
200000 200000 3 146496392 295645914 329918580 327864532 775595463 679497714 477982990 895715913 426496624 212610959 51398279 890081534 754411393 33800295 757392475 360570928 160302616 769452732 287974602 319522201 208727740 564166879 358497708 986785342 513591623 746990381 12058286 145741662 5027520...
output:
455994309105 620382275899 188278571151 1058096970949 618895640389 1162887216638 1158225117871 687738692981 1099774137939 1120588582185 370467825010 94914192862 929590962388 1158102967888 611207563099 203491809208 273574081655 1141208661735 926787214346 913460370371 362549020369 591145306053 10737274...
result:
wrong answer 1st numbers differ - expected: '555861804168', found: '455994309105'
Test #25:
score: 0
Wrong Answer
time: 946ms
memory: 571768kb
input:
200000 200000 3 146148313 925361430 681256648 139475934 525916287 330581707 664647885 140817222 690599536 378955690 804445631 23820914 62428704 280096003 359675235 278318215 724837064 96832307 807692306 197177297 705413220 403828326 478016024 141548081 288410830 643346309 553739733 528466670 4019249...
output:
244542928857 912060248040 853086161031 383470578728 798101281104 867127342899 825893151064 1116429876151 835933071417 1170848148348 1164290136795 445463337694 895984152873 1134819796241 523193608628 470596736680 435206507099 771394289935 676541932970 964757974979 185917286800 812939274051 7569960267...
result:
wrong answer 1st numbers differ - expected: '302510379124', found: '244542928857'