QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#507152 | #8427. Continue the Sequence | ZhaoZiLong | AC ✓ | 417ms | 109480kb | C++23 | 11.2kb | 2024-08-06 11:43:41 | 2024-08-06 11:43:43 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 64ms
memory: 82176kb
input:
5 10 1 4 9 16 25
output:
36 49 64 81 100 121 144 169 196 225
result:
ok 10 numbers
Test #2:
score: 0
Accepted
time: 64ms
memory: 80828kb
input:
3 3 0 0 0
output:
0 0 0
result:
ok 3 number(s): "0 0 0"
Test #3:
score: 0
Accepted
time: 63ms
memory: 80332kb
input:
5 10 1 2 4 8 16
output:
31 57 99 163 256 386 562 794 1093 1471
result:
ok 10 numbers
Test #4:
score: 0
Accepted
time: 60ms
memory: 80404kb
input:
3 1 2 1 0
output:
998244352
result:
ok 1 number(s): "998244352"
Test #5:
score: 0
Accepted
time: 64ms
memory: 82384kb
input:
5 10 571437886 356409568 754470076 473530488 152780912
output:
366201780 624319495 372450784 987191404 785194377 14391755 853994620 426782613 781547464 907138168
result:
ok 10 numbers
Test #6:
score: 0
Accepted
time: 59ms
memory: 83940kb
input:
20 100 671245968 143875763 443360205 619711 821803529 515842308 103683744 380727964 940211812 459756652 410579488 559633745 101518444 988979348 719849068 311676260 72467513 988488216 852833591 128243244
output:
811419259 388477643 251221924 690216632 923629624 111464361 374804157 258834165 125910887 309588357 521282948 400201487 780217809 510219864 884348715 792974737 966320857 535028328 730903146 70647456 831245882 807528310 512628192 265205960 913826545 780154850 251510496 533497293 315194013 806405600 3...
result:
ok 100 numbers
Test #7:
score: 0
Accepted
time: 69ms
memory: 82336kb
input:
100 1000 815290169 941018683 967366193 374405400 728534843 470877512 258956854 282380743 497914841 316159318 237492395 120907755 736246855 686509527 374729051 956137211 286293015 458989927 705700684 931280914 200759305 875136256 886280136 165941161 871452931 3622917 295386011 278572455 280245441 415...
output:
851572763 901135151 738454014 152474996 199090432 393509086 146314236 14450456 895380128 951943772 253871474 528260198 277474716 650268341 636055642 25605241 47779337 10076190 627857067 183995469 193956585 925211046 930840219 263660651 687894560 755455236 869346731 593569531 737559861 443468534 3617...
result:
ok 1000 numbers
Test #8:
score: 0
Accepted
time: 67ms
memory: 83340kb
input:
1000 10000 378908197 457749181 442432082 267609878 433728073 573222341 361828099 721154730 947307536 683577972 633005606 827512008 490199362 687960892 541669451 38538682 618044027 263919924 256364851 889804417 931111709 124446372 724699812 509636922 838240941 38039236 42079303 202626649 3495375 6231...
output:
306898227 721992403 932913198 20042851 365390670 134647907 907803665 518220944 544034419 546773589 893658994 849565552 80543441 948064262 251160889 879385996 462894050 561606781 689457683 75700133 187668217 217435067 587063917 467577766 61281715 63375600 522069525 116961383 522054886 199885336 58528...
result:
ok 10000 numbers
Test #9:
score: 0
Accepted
time: 85ms
memory: 84644kb
input:
10000 30000 810740711 246335643 945923844 882448861 931333013 15265851 37822530 420127054 212498295 173613209 160807102 307461018 8469670 928682479 377400471 404343451 592906751 316898964 741830513 118006212 669350503 706544916 727600518 900777667 416862701 738380758 86807248 693463780 509909373 492...
output:
161476785 797371689 308938429 660881747 261075557 726514218 719151694 897759131 795969409 154899443 799775730 523033761 903159015 232179282 215592973 553553863 607129077 498572562 798425714 731418678 374977785 549638059 321046864 251873667 827757706 292250441 209406427 955302429 41082979 694037893 2...
result:
ok 30000 numbers
Test #10:
score: 0
Accepted
time: 151ms
memory: 97084kb
input:
50000 100000 274798660 892528066 368991042 56559191 752280428 310894351 53790864 248204521 610484507 83386427 44822540 79847240 8958175 866409915 343223225 349137396 953582196 807436189 123369689 420711009 448092650 138611522 290905765 957869489 699355580 192273386 367503319 317729903 38616843 35073...
output:
167502614 389374058 351944335 722106194 161792620 680588327 63051313 421576281 501948968 339898335 732629234 843789633 188646122 784434215 959395631 715036088 558674832 747928407 704292565 478282808 447817020 723946238 418612040 688841119 250021535 221485095 7382586 134129796 244944822 645136797 551...
result:
ok 100000 numbers
Test #11:
score: 0
Accepted
time: 172ms
memory: 95256kb
input:
100000 1 892904314 35612823 36447182 187286698 447929520 239416420 709532960 568331258 559603729 759215178 215997047 420425642 418770976 403381917 476243786 95442424 638983337 924078456 770444322 165772165 156132868 236187254 993494382 251577172 431200742 81829096 525960431 425190371 149378779 61162...
output:
915930347
result:
ok 1 number(s): "915930347"
Test #12:
score: 0
Accepted
time: 343ms
memory: 106216kb
input:
2 800000 417524809 767618828
output:
119468494 469562513 819656532 171506198 521600217 871694236 223543902 573637921 923731940 275581606 625675625 975769644 327619310 677713329 29562995 379657014 729751033 81600699 431694718 781788737 133638403 483732422 833826441 185676107 535770126 885864145 237713811 587807830 937901849 289751515 63...
result:
ok 800000 numbers
Test #13:
score: 0
Accepted
time: 243ms
memory: 97536kb
input:
100000 300000 384953251 258624049 669072025 993983935 808222864 346573783 232400775 443474921 513329836 755156152 307216 853493872 890816225 779364084 827401667 249859472 451638917 577287437 439319725 911652702 321706354 799260945 92603044 783287144 352767822 919115403 357655002 589475256 580175190 ...
output:
500211717 409432232 581480810 525837457 219723943 762982602 501473623 317708495 401689302 475236727 213286845 164205203 302416882 730947170 296852743 654249737 834991588 253898185 8729732 669788796 147455362 654833083 420506552 538045833 811444188 691066810 92826784 82213687 211021208 275462506 2597...
result:
ok 300000 numbers
Test #14:
score: 0
Accepted
time: 417ms
memory: 109480kb
input:
100000 800000 329182806 185892062 697642687 517272825 885663076 362438227 801797612 537248720 22958504 175428914 495188188 74864695 184345392 731826283 219677347 526657940 708467667 916633653 712024196 186659776 85372414 231748273 758070747 415434534 151080308 137678794 993573223 665497594 585561884...
output:
906370960 46053607 523814554 766564709 617280501 735647094 891396833 460282820 728669181 560149060 594347013 67377664 215759045 461279360 59933782 31473392 28208134 56394061 371947149 391673392 994477288 393802332 623702028 290117535 329887802 546443781 192400418 550336977 585462558 273643568 699995...
result:
ok 800000 numbers
Test #15:
score: 0
Accepted
time: 351ms
memory: 106016kb
input:
31988 678763 668392863 570106916 887314656 19871988 600515369 142726973 466923695 864824504 390449493 545793697 707907276 982395067 532154679 108605227 40210103 636051917 70159062 778146720 170712196 56166968 268336912 49726610 798957545 523495111 427240276 261326062 354266056 66129334 918362698 547...
output:
260381128 435264071 360336403 786336326 832248524 898010603 596439980 666491511 103640238 25200318 341601488 266872443 436941410 594065123 740409166 776691386 295780990 830656138 161321761 768432335 669312329 330299045 433356937 250397132 779956496 289720447 953123935 635849988 821384419 511128881 6...
result:
ok 678763 numbers
Test #16:
score: 0
Accepted
time: 332ms
memory: 104144kb
input:
14679 657765 641737394 131787281 178677957 243058191 451621670 906915046 934586306 87752986 73882872 825449896 341680566 841191966 929036297 890444926 75164911 949562124 923601347 859957305 186126001 305593216 157020433 303213128 810350358 879621939 80291861 604145761 984318995 534678340 571475327 8...
output:
842530959 614819103 165287734 320463590 828879261 802096372 812025857 890715458 972753588 908067347 720292944 267713018 529108341 929107815 784881797 655246959 100431201 411572272 209002404 991656391 57413910 131551501 121285713 205765306 987564812 583139838 358969644 847152162 492041216 647790520 3...
result:
ok 657765 numbers
Test #17:
score: 0
Accepted
time: 126ms
memory: 95348kb
input:
579 134984 728283122 207761239 721690026 46834866 462586406 515699268 718199882 974371179 987939516 791617838 791705662 784122691 66316644 482847494 518611230 591127896 165768324 195620412 627370410 648483942 6191816 610447010 129285536 110930616 198791490 4638868 17121891 8718397 271589217 66987627...
output:
854679482 253865931 533030001 169071367 247968827 242667793 44665959 366043739 140168527 989815109 635071830 96550827 442845826 207582388 564036946 59237104 949474676 389394878 898243159 259937436 682449046 716523711 518360166 674239050 45459417 738156098 841554219 119229128 335958225 903534996 5363...
result:
ok 134984 numbers
Test #18:
score: 0
Accepted
time: 76ms
memory: 83768kb
input:
12 53976 7126049 329954905 408472427 239184155 974457454 877116287 798422318 260772783 890713561 30910427 56078892 674152108
output:
743026789 747855411 12624514 868372910 31539182 352622004 166590120 801444281 212817663 664387283 949576266 768240397 921209809 372008121 445659995 593837085 832615700 774156013 63303744 886470469 495525143 431644639 441115718 94399743 403623268 955736798 848640955 344408080 506469576 797683623 9788...
result:
ok 53976 numbers