QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#253239 | #7629. Make SYSU Great Again II | ucup-team991 | AC ✓ | 183ms | 18932kb | C++17 | 1.7kb | 2023-11-16 20:04:36 | 2023-11-16 20:04:36 |
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
Test #1:
score: 100
Accepted
time: 0ms
memory: 3480kb
input:
4
output:
Yes 3 8 5 2 8 7 0 13 6 0 15 0 1 14 0 11
result:
ok 1
Test #2:
score: 0
Accepted
time: 0ms
memory: 3600kb
input:
1
output:
Yes 1
result:
ok 1
Test #3:
score: 0
Accepted
time: 0ms
memory: 3524kb
input:
2
output:
Yes 1 0 0 3
result:
ok 1
Test #4:
score: 0
Accepted
time: 0ms
memory: 3600kb
input:
3
output:
Yes 1 10 4 8 5 2 7 0 13
result:
ok 1
Test #5:
score: 0
Accepted
time: 0ms
memory: 3748kb
input:
5
output:
Yes 3 52 9 38 24 52 11 36 25 38 10 36 27 36 17 32 26 36 19 4 31 32 18 4 59
result:
ok 1
Test #6:
score: 0
Accepted
time: 0ms
memory: 3804kb
input:
8
output:
Yes 7 48 10 36 27 36 17 6 48 15 32 26 36 19 4 57 14 32 31 32 18 4 59 4 33 30 32 23 0 58 4 51 28 33 22 0 63 0 50 12 34 20 1 62 0 55 8 34 21 2 60 1 54 8 39 16 2 61 2 52 9 38 16 47
result:
ok 1
Test #7:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
13
output:
Yes 4 233 22 200 55 200 34 140 115 140 97 158 64 234 20 201 54 200 39 136 114 140 99 156 65 174 21 202 52 201 38 136 119 136 98 156 67 172 81 192 53 202 36 137 118 136 103 152 66 172 83 12 63 192 37 138 116 137 102 152 71 168 82 12 243 192 47 128 117 138 100 153 70 168 87 8 242 12 46 128 127 128 101...
result:
ok 1
Test #8:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
21
output:
Yes 12 977 46 912 111 912 69 794 228 793 198 824 135 856 162 540 483 540 449 574 384 978 44 913 110 912 79 784 229 794 196 825 134 856 167 536 482 540 451 572 385 606 45 914 108 913 78 784 239 784 197 826 132 857 166 536 487 536 450 572 387 604 417 914 109 914 76 785 238 784 207 816 133 858 164 537 ...
result:
ok 1
Test #9:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
34
output:
Yes 30 4000 95 3872 202 3892 139 3636 457 3638 392 3698 269 3762 332 3121 974 3120 911 3184 773 3258 836 3257 518 3512 583 3384 706 3388 643 2108 1985 2110 4001 94 3872 223 3872 138 3636 459 3636 393 3702 264 3762 333 3122 972 3121 910 3184 783 3248 837 3258 516 3513 582 3384 711 3384 642 2108 1987 ...
result:
ok 1
Test #10:
score: 0
Accepted
time: 1ms
memory: 3536kb
input:
55
output:
Yes 18 4012 83 3884 209 3886 144 3621 474 3620 411 3684 281 3750 344 3106 989 3106 924 3169 798 3232 863 3232 522 3508 587 3380 713 3382 648 2098 1997 2098 1932 2161 1806 2224 1871 2224 1541 2490 1604 2361 1734 2360 1671 2424 1026 3004 1091 2876 1217 2878 1152 4008 82 3884 211 3884 145 3630 464 3621...
result:
ok 1
Test #11:
score: 0
Accepted
time: 1ms
memory: 3624kb
input:
89
output:
Yes 55 16200 178 15948 435 15948 305 15438 944 15429 826 15556 571 15684 697 14406 1976 14402 1853 14530 1596 14657 1726 14656 1087 15168 1173 14954 1428 14953 1302 12392 3991 12392 3858 12524 3603 12652 3729 12654 3088 13157 3226 12900 3483 12900 3353 13030 2072 14178 2205 13922 2460 13921 2334 134...
result:
ok 1
Test #12:
score: 0
Accepted
time: 1ms
memory: 3576kb
input:
100
output:
Yes 35 16220 161 15966 416 15946 309 15434 948 15433 822 15560 567 15688 690 14412 1971 14412 1841 14542 1584 14661 1722 14660 1083 15172 1209 14918 1464 14914 1341 12354 4028 12353 3902 12480 3647 12608 3733 12650 3092 13161 3222 12904 3479 12904 3346 13036 2067 14188 2193 13934 2448 13925 2330 134...
result:
ok 1
Test #13:
score: 0
Accepted
time: 2ms
memory: 3956kb
input:
200
output:
Yes 71 65208 322 64700 835 64700 577 63678 1856 63637 1642 63892 1131 64148 1385 61590 3944 61586 3693 61842 3180 62097 3438 62096 2159 63120 2405 62618 2916 62617 2662 57496 8039 57496 7778 57756 7267 58012 7521 58014 6240 59018 6517 58506 7028 58505 6774 58760 4215 61064 4466 60556 4979 60556 4721...
result:
ok 1
Test #14:
score: 0
Accepted
time: 5ms
memory: 3608kb
input:
300
output:
Yes 228 261401 742 260376 1767 260376 1250 258332 3811 258332 3297 258846 2272 259338 2805 254218 7924 254217 7414 254728 6391 255240 6898 255244 4339 257292 4849 256270 5872 256261 5370 246020 16123 246020 15609 246534 14584 247042 15101 247042 12540 249089 13054 248064 14079 248064 13397 248746 82...
result:
ok 1
Test #15:
score: 0
Accepted
time: 8ms
memory: 3952kb
input:
400
output:
Yes 143 261488 645 260474 1668 260473 1158 258424 3719 258424 3202 258940 2179 259452 2689 254334 7808 254250 7381 254762 6356 255273 6870 255272 4311 257320 4818 256300 5843 256300 5329 246062 16080 246053 15578 246564 14555 247076 15065 247078 12504 249122 13021 248098 14044 248097 13534 248608 84...
result:
ok 1
Test #16:
score: 0
Accepted
time: 13ms
memory: 4156kb
input:
500
output:
Yes 172 261457 686 260432 1711 260432 1189 258394 3748 258393 3238 258904 2215 259416 2722 254300 7843 254300 7329 254814 6304 255306 6837 255306 4276 257353 4790 256328 5815 256328 5298 246092 16051 246092 15537 246606 14512 247109 15034 247108 12475 249156 12985 248134 14008 248130 13501 248642 83...
result:
ok 1
Test #17:
score: 0
Accepted
time: 18ms
memory: 4748kb
input:
600
output:
Yes 456 1047090 1485 1045042 3532 1045041 2510 1040944 7631 1040944 6597 1041978 4548 1043001 5574 1032760 15815 1032760 14786 1033788 12739 1034812 13761 1034814 8640 1038869 9706 1036820 11755 1036820 10729 1016342 32232 1016338 31213 1017362 29164 1018385 30190 1018384 25071 1022480 26085 1020442...
result:
ok 1
Test #18:
score: 0
Accepted
time: 16ms
memory: 5140kb
input:
700
output:
Yes 404 1047145 1430 1045096 3479 1045096 2450 1041004 7571 1041004 6545 1042030 4496 1043045 5530 1032804 15771 1032804 14745 1033830 12696 1034850 13725 1034850 8604 1038945 9630 1036896 11679 1036896 10634 1016436 32139 1016436 31113 1017462 29064 1018482 30093 1018482 24972 1022577 25998 1020528...
result:
ok 1
Test #19:
score: 0
Accepted
time: 28ms
memory: 5740kb
input:
800
output:
Yes 287 1047264 1290 1045236 3339 1045236 2313 1041142 7432 1041138 6413 1042162 4364 1043185 5390 1032944 15631 1032944 14597 1033978 12548 1035001 13574 1035000 8455 1039096 9474 1037052 11523 1037052 10497 1016574 32000 1016405 31146 1017428 29099 1018452 30121 1018454 25000 1022546 26029 1020498...
result:
ok 1
Test #20:
score: 0
Accepted
time: 34ms
memory: 6192kb
input:
900
output:
Yes 380 1047169 1406 1045120 3455 1045120 2346 1041108 7467 1041108 6441 1042134 4392 1043154 5421 1032914 15660 1032913 14638 1033936 12591 1034960 13605 1034970 8484 1039065 9510 1037016 11559 1037016 10530 1016540 32035 1016540 31009 1017566 28960 1018570 30005 1018570 24884 1022665 25910 1020616...
result:
ok 1
Test #21:
score: 0
Accepted
time: 39ms
memory: 7100kb
input:
1000
output:
Yes 344 1047202 1373 1045154 3420 1045153 2398 1041056 7519 1041056 6474 1042100 4427 1043124 5449 1032886 15688 1032882 14669 1033906 12620 1034929 13646 1034928 8527 1039024 9541 1036986 11588 1036985 10566 1016504 32071 1016504 31042 1017532 28995 1018556 30017 1018558 24896 1022613 25962 1020564...
result:
ok 1
Test #22:
score: 0
Accepted
time: 63ms
memory: 8904kb
input:
1200
output:
Yes 912 4191333 2970 4187236 7067 4187236 5017 4179046 15256 4179042 13213 4181090 9116 4183137 11166 4162656 31647 4162656 29578 4164724 25483 4166772 27529 4166774 17288 4174962 19341 4170866 23436 4170865 21390 4129904 64399 4129904 62341 4131962 58244 4134009 60294 4134008 50055 4142200 52098 41...
result:
ok 1
Test #23:
score: 0
Accepted
time: 80ms
memory: 10820kb
input:
1400
output:
Yes 808 4191442 2861 4187346 6956 4187345 4910 4179152 15151 4179152 13093 4181210 8996 4183257 11046 4162776 31527 4162776 29474 4164828 25379 4166876 27425 4166878 17184 4175050 19253 4170954 23348 4170953 21302 4129992 64311 4129992 62258 4132044 58163 4134092 60209 4134094 49968 4142277 52026 41...
result:
ok 1
Test #24:
score: 0
Accepted
time: 112ms
memory: 13084kb
input:
1600
output:
Yes 575 4191680 2581 4187626 6676 4187625 4630 4179432 14871 4179432 12818 4181484 8723 4183532 10769 4163054 31248 4163045 29210 4165092 25115 4167140 27161 4167142 16920 4175330 18973 4171234 23068 4171233 21022 4130272 64031 4130272 61962 4132340 57867 4134388 59913 4134390 49672 4142578 51725 41...
result:
ok 1
Test #25:
score: 0
Accepted
time: 153ms
memory: 15744kb
input:
1800
output:
Yes 760 4191490 2813 4187394 6908 4187393 4862 4179200 15103 4179200 12885 4181418 8788 4183465 10838 4162984 31319 4162984 29266 4165036 25171 4167084 27217 4167086 16976 4175269 19034 4171172 23131 4171172 21081 4130214 64088 4130210 62045 4132258 57948 4134305 59998 4134304 49759 4142496 51786 41...
result:
ok 1
Test #26:
score: 0
Accepted
time: 170ms
memory: 17304kb
input:
1900
output:
Yes 731 4191524 2777 4187430 6872 4187426 4829 4179234 15068 4179233 13022 4181280 8927 4183328 10954 4162868 31435 4162868 29385 4164918 25288 4166962 27341 4166962 17100 4175153 19150 4171056 23247 4171056 21189 4130106 64196 4130105 62150 4132152 58055 4134200 60098 4134204 49859 4142396 51905 41...
result:
ok 1
Test #27:
score: 0
Accepted
time: 166ms
memory: 17620kb
input:
1920
output:
Yes 640 4191530 2773 4187434 6868 4187433 4822 4179240 15063 4179240 13010 4181292 8915 4183340 10961 4162862 31440 4162853 29402 4164900 25307 4166948 27353 4166950 17112 4175138 19165 4171042 23260 4171041 21214 4130080 64223 4130080 62154 4132148 58059 4134196 60105 4134198 49864 4142386 51917 41...
result:
ok 1
Test #28:
score: 0
Accepted
time: 183ms
memory: 18932kb
input:
2000
output:
Yes 688 4191557 2746 4187460 6843 4187460 4793 4179270 15032 4179266 12989 4181314 8892 4183361 10942 4162880 31423 4162880 29333 4164970 25236 4167017 27286 4167016 17047 4175208 19090 4171116 23187 4171116 21137 4130158 64144 4130149 62106 4132196 58011 4134244 60057 4134246 49816 4142434 51869 41...
result:
ok 1
Test #29:
score: 0
Accepted
time: 0ms
memory: 3564kb
input:
62
output:
Yes 21 4010 84 3881 214 3880 151 3624 466 3628 403 3692 273 3758 336 3109 986 3108 923 3172 793 3238 856 3234 541 3490 604 3361 734 3360 671 2080 1994 2100 1931 2164 1801 2230 1864 2226 1549 2482 1612 2353 1742 2352 1679 2416 1029 3002 1092 2873 1222 2872 1159 2616 1474 2620 1411 2684 1281 2750 3968...
result:
ok 1
Test #30:
score: 0
Accepted
time: 1ms
memory: 3896kb
input:
130
output:
Yes 126 65152 383 64640 810 64724 555 63700 1833 63702 1576 63954 1069 64210 1324 61649 3886 61648 3631 61904 3109 62170 3364 62169 2086 63192 2343 62680 2850 62684 2595 57564 7969 57566 7712 57802 7221 58058 7476 58057 6198 59080 6455 58568 6962 58572 6707 58828 4145 61134 4400 60613 4922 60612 466...
result:
ok 1
Test #31:
score: 0
Accepted
time: 1ms
memory: 3684kb
input:
126
output:
Yes 42 16212 171 15956 425 15958 296 15442 941 15442 812 15569 558 15696 687 14416 1957 14426 1828 14553 1574 14680 1703 14680 1058 15196 1187 14940 1441 14942 1312 12362 4021 12362 3892 12489 3638 12616 3767 12616 3122 13132 3251 12876 3505 12878 3376 12997 2106 14148 2235 13892 2489 13894 2360 133...
result:
ok 1
Test #32:
score: 0
Accepted
time: 1ms
memory: 3544kb
input:
66
output:
Yes 62 16192 191 15936 405 15978 276 15465 918 15464 791 15592 530 15724 659 14444 1937 14446 1808 14565 1562 14692 1691 14692 1049 15206 1176 14946 1437 14946 1308 12385 3998 12384 3871 12512 3594 12660 3723 12660 3081 13174 3208 12914 3469 12914 3340 13041 2062 14192 2191 13936 2437 13946 2308 134...
result:
ok 1
Test #33:
score: 0
Accepted
time: 53ms
memory: 7320kb
input:
1021
output:
Yes 340 1047209 1366 1045160 3415 1045160 2386 1041068 7507 1041068 6481 1042094 4432 1043109 5466 1032868 15707 1032868 14681 1033894 12632 1034914 13661 1034914 8540 1039009 9566 1036960 11615 1036960 10570 1016500 32075 1016500 31049 1017526 29000 1018546 30029 1018546 24908 1022641 25934 1020592...
result:
ok 1
Test #34:
score: 0
Accepted
time: 49ms
memory: 7260kb
input:
1022
output:
Yes 341 1047210 1364 1045161 3414 1045160 2391 1041064 7506 1041068 6483 1042092 4433 1043118 5456 1032869 15706 1032868 14683 1033892 12633 1034918 13656 1034914 8541 1039010 9564 1036961 11614 1036960 10591 1016480 32074 1016500 31051 1017524 29001 1018550 30024 1018546 24909 1022642 25932 1020593...
result:
ok 1
Test #35:
score: 0
Accepted
time: 49ms
memory: 7252kb
input:
1023
output:
Yes 341 1047210 1364 1045161 3414 1045160 2391 1041064 7506 1041068 6483 1042092 4433 1043118 5456 1032869 15706 1032868 14683 1033892 12633 1034918 13656 1034914 8541 1039010 9564 1036961 11614 1036960 10591 1016480 32074 1016500 31051 1017524 29001 1018550 30024 1018546 24909 1022642 25932 1020593...
result:
ok 1
Test #36:
score: 0
Accepted
time: 53ms
memory: 7264kb
input:
1024
output:
Yes 1023 1046528 1365 1045162 3412 1045161 2390 1041064 7511 1041064 6482 1042092 4435 1043116 5457 1032878 15696 1032869 14682 1033892 12635 1034916 13657 1034918 8536 1039010 9565 1036962 11612 1036961 10590 1016480 32095 1016480 31050 1017524 29003 1018548 30025 1018550 24904 1022642 25933 102059...
result:
ok 1
Test #37:
score: 0
Accepted
time: 43ms
memory: 7320kb
input:
1025
output:
Yes 1023 4191232 2389 4187818 6484 4187817 4438 4179624 14679 4179624 12626 4181676 8531 4183724 10577 4163246 31056 4163237 29018 4165284 24923 4167332 26969 4167334 16728 4175522 18781 4171426 22876 4171425 20830 4130464 63839 4130464 61770 4132532 57675 4134580 59721 4134582 49480 4142770 51533 4...
result:
ok 1
Test #38:
score: 0
Accepted
time: 52ms
memory: 7388kb
input:
1026
output:
Yes 1022 4191232 3071 4187136 6485 4187818 4436 4179625 14678 4179624 12631 4181672 8530 4183724 10579 4163244 31057 4163246 29008 4165285 24922 4167332 26971 4167332 16729 4175526 18776 4171426 22877 4171426 20828 4130465 63838 4130464 61791 4132512 57674 4134580 59723 4134580 49481 4142774 51528 4...
result:
ok 1
Test #39:
score: 0
Accepted
time: 38ms
memory: 7296kb
input:
1027
output:
Yes 1022 4191232 3071 4187136 6485 4187818 4436 4179625 14678 4179624 12631 4181672 8530 4183724 10579 4163244 31057 4163246 29008 4165285 24922 4167332 26971 4167332 16729 4175526 18776 4171426 22877 4171426 20828 4130465 63838 4130464 61791 4132512 57674 4134580 59723 4134580 49481 4142774 51528 4...
result:
ok 1
Extra Test:
score: 0
Extra Test Passed