QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#352146#7933. Build PermutationZhangYiDeWA 627ms69748kbPython3628b2024-03-12 21:53:512024-03-12 21:53:51

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 10ms
memory: 9496kb

input:

5
4 2 5 1 3

output:

2 1 4 3 5

result:

ok 

Test #2:

score: 0
Accepted
time: 6ms
memory: 9440kb

input:

3
2 2 3

output:

-1

result:

ok 

Test #3:

score: 0
Accepted
time: 370ms
memory: 63764kb

input:

199528
581552649 419782901 924554494 589802859 878336763 659984178 419820729 521791999 956262027 523946290 442086405 808419260 875183942 860794919 584899704 494193909 687014591 794119827 641706288 734029639 795387770 803653459 889799156 455122734 655375888 757642629 427654115 987811208 593072829 584...

output:

-1

result:

ok 

Test #4:

score: 0
Accepted
time: 594ms
memory: 69320kb

input:

199680
774760412 315033238 665140012 402128528 221827348 923752357 281703052 551555739 483983889 622621809 949928382 909484599 413397988 424613137 353323926 392255354 551928848 464853065 860603765 618364501 423106762 752293338 551415838 898671881 969815739 150102831 644806419 333507443 379455235 981...

output:

73439 148005 8648 89423 141979 147470 141410 69725 40153 63979 78432 103327 181609 135195 105239 127546 32464 34284 174446 34920 30629 168594 168530 161118 93855 108316 180454 174923 1995 85530 196615 98831 140833 5779 144616 158480 4431 142576 165252 72206 116180 122123 113985 60323 86875 40860 134...

result:

ok 

Test #5:

score: 0
Accepted
time: 361ms
memory: 66224kb

input:

199443
280209150 111548592 486449150 830619773 101477510 250948810 530722572 122879826 934988883 597990248 855838792 673988482 368821924 128160089 591934983 960002116 507933024 995671195 672047771 312730948 102630166 364851921 555488581 895717854 273833610 945841457 136208436 989527045 110773712 399...

output:

-1

result:

ok 

Test #6:

score: 0
Accepted
time: 620ms
memory: 69384kb

input:

199064
395536129 907689205 713291553 247152332 837613842 651870307 318145619 297825229 694860398 485336048 726785083 336968767 539657663 608859925 340007894 787651677 424619844 378960837 387429699 403875365 267181702 869225817 842816404 834055361 355960077 364915320 761436937 285945913 958875534 344...

output:

90689 177350 72561 88464 84579 128844 13003 162950 49523 62343 149063 120221 169180 125573 177644 90361 122108 179621 84210 189075 100787 59823 190257 86953 68262 147985 10466 31754 159731 90031 157023 105179 182297 26451 128628 145927 27934 166124 117482 167506 116265 159293 44392 771 78580 46539 1...

result:

ok 

Test #7:

score: 0
Accepted
time: 608ms
memory: 68808kb

input:

199200
375547557 704748841 811879539 586029824 973898321 679549697 483248253 903432805 656702253 776120630 714978346 515770075 775967369 625240783 379961324 762796911 672917145 558568372 665181932 699831164 703435266 866858177 756366027 702475930 720545487 355316026 582876741 413582305 932382221 938...

output:

65598 126883 69878 110403 63037 157804 194175 46983 9003 66208 167174 198109 151603 1513 140795 88546 153690 110397 20817 188288 181266 179819 129050 54475 194271 9770 27464 196198 44363 71091 26088 66527 25372 58812 143500 90503 14774 79405 130634 20673 86168 54230 167760 32228 189645 160449 135568...

result:

ok 

Test #8:

score: 0
Accepted
time: 596ms
memory: 69436kb

input:

199422
652117536 757863772 946284870 601551925 316292341 469722359 423231657 139434468 101118798 881602313 225927623 995899451 404624788 980937160 754603225 738440429 126730391 318988705 916885091 842591009 593784745 707735774 995358171 297062957 466929792 226424017 395211321 573384018 166155976 468...

output:

79316 153976 98358 23096 118600 167234 90922 46186 46387 119610 48328 60287 111187 173175 30486 144617 158807 114524 55750 199050 192780 52063 142682 53092 28416 70086 51872 32838 51207 127803 42686 81635 195351 54480 179814 92707 27162 165580 67034 125806 54208 25464 11748 66022 159908 20043 181611...

result:

ok 

Test #9:

score: 0
Accepted
time: 627ms
memory: 69192kb

input:

199314
779089675 180313771 82646931 567030121 835772831 863349060 306916189 475025091 833291933 195754301 911505781 281578385 895319447 342921767 432890768 809259347 943075789 591269786 782363609 356142557 421493540 702147760 907573933 343411341 586881410 455241843 614017563 485009037 858862375 9888...

output:

50739 193790 5068 178647 158223 108029 66165 80270 62655 14740 82567 56641 186164 69235 88749 198217 88009 27106 157015 76637 159137 174055 145220 74489 180830 106957 79830 146241 16325 5931 33135 119262 105096 115383 108479 35552 15612 46942 192118 100145 22989 119552 13262 182699 27223 98591 15970...

result:

ok 

Test #10:

score: 0
Accepted
time: 308ms
memory: 60804kb

input:

199623
392554692 932351024 845770400 936136176 919874396 422214690 737809080 455177266 780882808 545380592 480542738 919353018 623278426 668686810 644645831 998117398 862300168 784787307 884384646 756759249 938450058 549433713 532106333 758337358 418094811 632390157 621808367 568859120 717763279 843...

output:

-1

result:

ok 

Test #11:

score: 0
Accepted
time: 622ms
memory: 69292kb

input:

199716
655903285 917298543 569611236 360686283 462261919 799881596 495538213 693462735 414085131 329548980 570743587 756715389 573119207 459657536 772161643 763811288 914294629 324042984 710911571 969448401 540125120 601831555 920413269 600337142 387447313 841941125 326407927 931548705 442981204 502...

output:

146742 33538 31727 71600 31963 190236 31346 37046 102034 10615 11452 73298 142096 5839 86956 94138 122714 80312 4569 56196 178466 66473 102551 124918 57729 172346 109129 12139 123775 193799 172170 177778 131460 135222 135390 31908 96996 34404 174312 91382 140164 181249 178439 96764 20570 101687 1687...

result:

ok 

Test #12:

score: -100
Wrong Answer
time: 614ms
memory: 69748kb

input:

199949
847816659 278605693 473110543 354208594 848527377 267023373 630384053 419592241 458247306 590422973 466574822 909275887 750531174 666767850 739894604 803975497 399276167 364903283 343199144 209193164 566751674 795500685 556627557 322132171 848775636 348742850 280895947 828646447 956663214 939...

output:

137059 42246 89517 11390 31390 190736 162502 86447 80384 38107 171345 159065 191914 32508 95587 107947 136820 83363 196699 191800 173258 85496 137034 62058 194951 152842 175863 185883 100729 69254 150031 121191 121511 197538 128817 40051 164197 75944 3443 150861 131083 100446 91672 8189 68 98651 187...

result:

wrong answer