QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#100779#5829. 马戏团里你最忙alch0740 691ms109972kbC++147.0kb2023-04-28 00:01:482023-04-28 00:01:50

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 10
Accepted
time: 682ms
memory: 109968kb

input:

17 203635058 20 45197
630927925 367691872 854861811 935381440 972493717 952218952 40627765 901726383 333182690 814058886 114559515 857808755 180823985 448291128 904629758 587362495 553139819 808271094 537555635 876810522 460868754 965863351 816253267 677756972 587551773 48482825 12382358 781942390 2...

output:


196898572 306765528 537213886 127286930 159851023 63717087 706071741 435797240 327471764 154687895 775133161 446884277 355140499 730759144 828313812 358804201 563368151 879077306 777389211 488119012 23523875 414748489 31031626 712027375 508390555 892195537 272674444 65777736 725465806 703671740 855...

result:

ok 131072 numbers

Test #2:

score: 10
Accepted
time: 679ms
memory: 109824kb

input:

17 55303977 20 32265
494363203 155538370 630883878 512423276 148363202 832624635 801640865 903488980 811127763 249184672 605607782 287932872 764562597 387167720 508436523 263243837 25444512 71537379 602424523 577977303 207298251 640159465 917833936 352635217 315477193 937365223 740930608 774925120 2...

output:


289704320 958498566 842657284 940168022 997881125 862052632 724273322 231206605 305893297 43278691 837297755 633518092 730177995 204277846 437293037 502075979 382748699 327548917 26671944 687820882 479587172 348577818 6544646 912745783 388632361 225651778 270406177 724852774 753829405 290426213 365...

result:

ok 131072 numbers

Test #3:

score: 0
Wrong Answer
time: 668ms
memory: 109896kb

input:

17 126833065 1000 123430
911917407 121906013 929903588 323429234 139121451 3203442 65035849 409625525 525882288 532577435 971826327 904691827 481756384 47231489 346006246 274441242 584793873 841520735 543444701 644939661 885202827 142653644 180313583 548253835 847010044 216554243 124989074 619408231...

output:


981656261 85391586 304983123 905332391 340351753 522462389 886888051 313916136 39271887 296027925 263087130 290301534 223610273 221448507 833657959 71587152 295983532 622787961 451299184 984469028 337824140 835276584 409258827 327073469 413854619 155005532 953919192 438090575 981105640 445660127 36...

result:

wrong answer 1st numbers differ - expected: '134631343', found: '981656261'

Test #4:

score: 0
Wrong Answer
time: 662ms
memory: 109972kb

input:

17 621627241 1000 37306
874709248 739473737 912060934 158833941 971188630 744039312 327912594 702720054 185196283 745584702 903434215 484148979 176610819 222341600 961711994 877263458 352785155 12121832 920590333 736755672 428869475 220835314 277186463 787049344 504919397 134827356 59724693 78120026...

output:


364278469 970825920 916399066 308345092 573509618 132778834 534753132 318566066 325786125 847791003 856612977 294714132 176769123 731235736 38963634 992187113 208023474 617816529 769755334 986515822 625959370 941164421 691891032 628196383 34790491 79482754 728188225 289057664 85881292 492269082 643...

result:

wrong answer 1st numbers differ - expected: '287767112', found: '364278469'

Test #5:

score: 10
Accepted
time: 2ms
memory: 3868kb

input:

1 836026557 1000000000 1
89073685 44729188

output:


936822371 494640537 

result:

ok 2 number(s): "936822371 494640537"

Test #6:

score: 10
Accepted
time: 1ms
memory: 3744kb

input:

8 729700268 1000000000 44
415083631 759858310 528846926 698375322 811429471 668487195 443858087 600445292 190489246 123673503 530450450 76731586 197623863 866555166 743879064 141858132 642913199 103864508 528442021 931490458 969629325 724240247 392146627 32067149 882745389 980834475 140464044 516308...

output:


830023741 616121060 660911628 638220986 252695004 652606403 123917422 418209485 845655441 750569346 32907787 264930076 953962978 689996424 323420989 513057450 197453167 221143412 79717545 924653624 119845062 512678835 395988191 629025773 355693367 391006251 472355315 383277265 392809151 920109119 5...

result:

ok 256 numbers

Test #7:

score: 0
Wrong Answer
time: 661ms
memory: 109916kb

input:

17 499122177 1000000000 101368
879449681 64374006 2136324 179144921 432405367 443552363 403139437 39083535 353339709 78321779 538844553 158621708 576996457 284607049 353163162 754891442 765538773 579712088 200974213 4059721 644110071 271278034 94792222 726122290 905812908 137101325 873585214 5466611...

output:


988420151 278290108 254451017 699664052 457406622 284628752 3518775 849752030 499803323 867930849 454261508 387716340 421125575 610168259 309826132 231819977 927649349 66438621 912157722 622297401 424717412 915318760 457063642 539365149 32496381 22371215 366507509 876504887 243987180 136857149 8236...

result:

wrong answer 1st numbers differ - expected: '76712311', found: '988420151'

Test #8:

score: 0
Wrong Answer
time: 671ms
memory: 109952kb

input:

17 73054278 1000000000 103328
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 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 ...

output:


21042204 877234058 877234058 347527484 877234058 347527484 347527484 688533639 877234058 347527484 347527484 688533639 347527484 688533639 688533639 251510926 877234058 347527484 347527484 688533639 347527484 688533639 688533639 251510926 347527484 688533639 688533639 251510926 688533639 251510926 ...

result:

wrong answer 1st numbers differ - expected: '307343988', found: '21042204'

Test #9:

score: 0
Wrong Answer
time: 343ms
memory: 57088kb

input:

16 544826057 1000000000 58181
127333103 438073137 374751329 498443816 423416409 925764567 46036736 110186961 233535448 830000756 676728537 294866428 430284448 424338238 337810871 397978 916371232 246055490 114266106 174763813 816533383 346479346 358334243 10507119 464920585 275232506 870081558 38720...

output:


817184246 949743178 412201001 449442437 814222765 493977127 632345531 188819314 667898830 416042162 6824796 750045443 259515004 69722188 882031032 416551703 554423956 441959983 933910727 46917914 357944734 236438988 433794574 717558986 264840513 143713940 989643483 611869321 483341771 667032184 370...

result:

wrong answer 1st numbers differ - expected: '770450440', found: '817184246'

Test #10:

score: 0
Wrong Answer
time: 691ms
memory: 109824kb

input:

17 596529770 1000000000 121733
359584182 80170529 721719197 271156012 552773637 882685657 619483754 39827609 20656366 82444398 478178854 625533821 736267120 37211948 503896746 770716690 554769769 575127167 638367404 541442475 219866908 428643659 649491821 417360007 540021485 514124438 754101213 3068...

output:


752074005 729240375 536560612 164439192 251221437 162340182 967411525 259040212 380127931 1411404 133335608 220365277 348883583 915166224 689466891 315646013 132218976 830479053 221606013 860121029 997606940 33719685 848436085 742373887 896608008 260294991 814182570 678685118 917897815 646203434 25...

result:

wrong answer 1st numbers differ - expected: '421614534', found: '752074005'