QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#248510#7629. Make SYSU Great Again IIucup-team159#AC ✓46ms18904kbC++2019.2kb2023-11-11 19:38:252023-11-11 19:38:25

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3608kb

input:

4

output:

Yes
27 32 9 4
36 11 0 25
9 4 27 32
0 25 36 11

result:

ok 1

Test #2:

score: 0
Accepted
time: 0ms
memory: 3740kb

input:

1

output:

Yes
0

result:

ok 1

Test #3:

score: 0
Accepted
time: 0ms
memory: 3588kb

input:

2

output:

Yes
5 0
0 5

result:

ok 1

Test #4:

score: 0
Accepted
time: 0ms
memory: 3480kb

input:

3

output:

Yes
5 8 2
10 1 4
0 6 9

result:

ok 1

Test #5:

score: 0
Accepted
time: 0ms
memory: 3600kb

input:

5

output:

Yes
27 32 10 17 4
36 11 16 2 25
9 20 3 24 34
18 1 28 35 8
0 26 33 12 19

result:

ok 1

Test #6:

score: 0
Accepted
time: 0ms
memory: 3596kb

input:

8

output:

Yes
119 128 57 70 17 100 147 8
136 55 64 25 102 145 4 115
51 72 23 96 153 6 113 132
68 19 104 151 0 121 134 49
17 100 147 8 119 128 57 70
102 145 4 115 136 55 64 25
153 6 113 132 51 72 23 96
0 121 134 49 68 19 104 151

result:

ok 1

Test #7:

score: 0
Accepted
time: 0ms
memory: 3524kb

input:

13

output:

Yes
119 128 51 72 23 96 146 41 6 113 132 51 8
136 55 64 19 104 151 32 2 121 134 49 4 115
51 72 23 96 147 40 7 112 130 57 6 113 132
68 19 104 151 32 3 120 135 48 2 121 134 49
17 100 147 40 7 112 131 56 7 112 130 57 70
102 145 36 3 120 135 48 3 120 135 48 66 25
153 38 1 116 131 56 7 112 131 56 71 16 9...

result:

ok 1

Test #8:

score: 0
Accepted
time: 0ms
memory: 3760kb

input:

21

output:

Yes
495 512 231 272 111 384 626 141 34 457 550 209 302 65 420 595 12 483 520 231 16
528 239 256 103 400 623 128 50 461 546 201 294 81 430 577 4 499 524 227 8 487
231 272 111 384 615 144 47 448 562 205 290 73 422 593 14 481 516 243 12 483 520
264 103 400 623 128 39 464 559 192 306 77 418 585 6 497 52...

result:

ok 1

Test #9:

score: 0
Accepted
time: 0ms
memory: 3536kb

input:

34

output:

Yes
2015 2048 960 1050 453 1554 2509 546 221 1794 2249 806 1241 262 1745 2318 97 1950 2113 932 1115 388 1619 2444 611 156 1859 2184 871 1176 327 1680 15 32
2080 991 1024 448 1562 2501 530 205 1826 2269 770 1225 294 1753 2310 81 1934 2145 926 1089 420 1627 2436 595 140 1891 2204 835 1160 359 1688 7 1...

result:

ok 1

Test #10:

score: 0
Accepted
time: 0ms
memory: 3640kb

input:

55

output:

Yes
2015 2048 977 1038 481 1566 2497 548 219 1796 2259 780 1251 284 1731 2312 103 1944 2119 912 1103 416 1631 2432 602 133 1874 2189 866 1181 322 1673 38 2009 2054 977 1038 481 1566 2497 548 219 1796 2259 780 1251 284 1731 2312 103 1944 2119 912 1103 32
2080 991 1024 465 1550 2529 542 193 1828 2267 ...

result:

ok 1

Test #11:

score: 0
Accepted
time: 0ms
memory: 3588kb

input:

89

output:

Yes
8127 8192 4019 4108 1955 6172 10179 2108 899 7240 9143 3080 5031 1048 7111 9272 391 7696 8655 3632 4495 1568 6559 9792 2495 512 7562 8741 3482 4677 1466 6661 146 8013 8370 3853 4258 1821 6338 10045 2178 841 7350 8969 3238 4889 1222 6969 9350 273 7886 8497 3726 4385 1694 6465 9918 2305 692 7435 8...

result:

ok 1

Test #12:

score: 0
Accepted
time: 0ms
memory: 3668kb

input:

100

output:

Yes
8127 8192 4030 4097 1972 6155 10148 2075 964 7227 9092 3091 5068 1075 7052 9251 412 7747 8636 3587 4552 1591 6536 9767 2456 583 7608 8711 3472 4687 1456 6671 160 7967 8384 3903 4224 1802 6309 10010 2245 826 7301 8978 3277 4914 1165 6946 9373 322 7869 8450 3785 4406 1673 6438 9881 2374 697 7430 8...

result:

ok 1

Test #13:

score: 0
Accepted
time: 1ms
memory: 3724kb

input:

200

output:

Yes
32639 32768 16158 16449 7998 24705 40830 8193 3860 28747 36660 12427 20340 4107 28452 37019 1892 30747 34628 14395 18308 6267 26372 39059 10092 2067 30540 34867 14220 18547 5900 26659 924 31843 33564 15427 17212 7299 25468 39939 9064 3095 29512 35895 13192 19575 4872 27687 37784 1127 31512 33863...

result:

ok 1

Test #14:

score: 0
Accepted
time: 0ms
memory: 3984kb

input:

300

output:

Yes
130815 131072 65048 65607 32568 98503 163384 32903 15992 114951 147192 49159 81616 16431 114320 147567 7952 123119 138768 57423 73520 24783 106032 155791 40560 8463 122608 139279 57120 73951 24096 106655 3680 127263 134880 61471 69184 28991 102080 159807 36480 12415 118528 143615 52736 77930 202...

result:

ok 1

Test #15:

score: 0
Accepted
time: 3ms
memory: 3904kb

input:

400

output:

Yes
130815 131072 65182 65633 32542 98529 163358 32833 16190 114881 147006 49281 81534 16641 114430 147457 7828 122987 139028 57579 73236 24651 106292 155851 40500 8331 122484 139531 57076 73739 24356 106715 3620 127131 134756 61723 69348 28699 101956 160059 36548 12347 118404 143483 52996 78075 199...

result:

ok 1

Test #16:

score: 0
Accepted
time: 2ms
memory: 4168kb

input:

500

output:

Yes
130815 131072 65242 65573 32410 98405 163610 32997 15898 114757 147258 49349 81466 16517 114298 147717 7930 122885 138962 57389 73362 24685 106258 155885 40466 8269 122674 139469 56882 73869 24178 106765 3826 126989 134946 61661 69154 28829 101986 160029 36578 12317 118338 143677 52930 77885 200...

result:

ok 1

Test #17:

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

input:

600

output:

Yes
523775 524288 261400 262375 130584 393703 654360 131655 64952 458823 589112 196807 327224 65991 457784 589959 32376 491911 556152 229639 294136 98823 425464 622599 162896 33071 490704 557615 228816 294959 97424 426607 15760 508015 539920 245999 278032 115183 408592 639567 146864 49231 474416 573...

result:

ok 1

Test #18:

score: 0
Accepted
time: 7ms
memory: 5224kb

input:

700

output:

Yes
523775 524288 261740 262547 130156 393491 654572 131603 65004 458771 589388 197043 326732 65843 457932 590387 32204 491571 556172 230003 294284 98419 425228 622835 163340 33267 490508 557475 228444 295203 97500 426531 15836 507939 539804 246371 277916 114787 408860 639203 146972 49635 474140 574...

result:

ok 1

Test #19:

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

input:

800

output:

Yes
523775 524288 261342 262689 130526 393249 654494 131681 64926 458849 589086 196833 327198 66017 457758 590401 32190 491585 556350 229569 294462 98753 425022 622721 163454 33153 490622 557313 228606 295425 97790 425985 15572 508459 540116 245803 277652 115307 408980 639083 146708 49387 474644 573...

result:

ok 1

Test #20:

score: 0
Accepted
time: 8ms
memory: 6288kb

input:

900

output:

Yes
523775 524288 261122 262441 130262 393769 654806 131113 64662 459369 589206 196713 326934 65769 458262 590313 31766 492105 556470 229449 294198 98505 425526 623049 162870 32905 491126 557449 228470 295177 97526 426505 15862 507913 540070 245849 277798 114905 409126 639449 146470 49305 474726 573...

result:

ok 1

Test #21:

score: 0
Accepted
time: 11ms
memory: 6960kb

input:

1000

output:

Yes
523775 524288 261642 262645 130058 393637 654426 131365 64730 459301 589274 196645 326810 66149 458138 589925 32026 491749 556570 229861 293914 98885 425402 622661 163130 32965 491066 557509 228410 295045 97914 426373 15482 508165 539898 246277 278010 114693 408658 639277 146642 49709 474578 573...

result:

ok 1

Test #22:

score: 0
Accepted
time: 13ms
memory: 8768kb

input:

1200

output:

Yes
2096127 2097152 1046936 1049703 523160 1572967 2619672 525543 260888 1835239 2357784 786919 1309720 263143 1832984 2360135 129208 1966663 2226616 918599 1178552 393287 1702200 2491591 654136 131271 1964600 2228679 916536 1180615 391224 1705095 64376 2031751 2161272 983431 1113208 459655 1636472 ...

result:

ok 1

Test #23:

score: 0
Accepted
time: 17ms
memory: 11032kb

input:

1400

output:

Yes
2096127 2097152 1047596 1049555 522284 1574035 2620268 524435 260716 1835411 2358380 787347 1308780 262419 1834220 2360083 129260 1966611 2226668 918547 1178604 393235 1702732 2490547 653900 131507 1965132 2229171 915532 1179955 392396 1704755 63692 2032179 2161100 984115 1113036 458803 1637516 ...

result:

ok 1

Test #24:

score: 0
Accepted
time: 21ms
memory: 13040kb

input:

1600

output:

Yes
2096127 2097152 1047646 1049505 522334 1573153 2620638 525089 260318 1835553 2357726 787489 1309662 262177 1834142 2360161 129182 1966689 2226590 918625 1178526 393313 1702174 2491617 654110 131297 1964574 2228705 916510 1180641 391198 1704769 63678 2032193 2161086 984129 1113022 458817 1636670 ...

result:

ok 1

Test #25:

score: 0
Accepted
time: 40ms
memory: 15896kb

input:

1800

output:

Yes
2096127 2097152 1047042 1049085 523266 1573885 2619394 524713 261206 1835945 2357334 786729 1309910 262953 1833174 2359849 129494 1967145 2227158 917545 1178774 394089 1702038 2490985 653718 132201 1964950 2228329 915734 1180905 391958 1704169 64022 2032105 2161686 984041 1112086 459593 1636534 ...

result:

ok 1

Test #26:

score: 0
Accepted
time: 46ms
memory: 17232kb

input:

1900

output:

Yes
2096127 2097152 1047314 1048813 522770 1573357 2620434 525293 260114 1835853 2357426 787021 1309106 263245 1833906 2359373 129330 1967309 2226994 917709 1178162 393677 1702962 2491341 653362 132237 1964914 2228365 916082 1180045 392306 1704845 63602 2031885 2161906 983821 1112306 459277 1636850 ...

result:

ok 1

Test #27:

score: 0
Accepted
time: 33ms
memory: 17496kb

input:

1920

output:

Yes
2096127 2097152 1046610 1048877 523474 1573677 2619602 524845 260562 1836077 2358226 786477 1309842 263021 1833106 2359917 129426 1967213 2227090 917613 1177874 394477 1702674 2490605 653842 131565 1965074 2229229 915474 1180493 391346 1704525 63922 2032717 2161586 983117 1112370 459981 1637170 ...

result:

ok 1

Test #28:

score: 0
Accepted
time: 42ms
memory: 18904kb

input:

2000

output:

Yes
2096127 2097152 1047434 1048693 522506 1574133 2620170 524533 260618 1835509 2358282 787445 1308682 262309 1833562 2359717 130138 1967013 2226266 917797 1178842 394021 1702106 2490917 653786 132133 1965018 2228261 916634 1180517 391322 1704549 63898 2032741 2161562 983141 1112346 460005 1637146 ...

result:

ok 1

Test #29:

score: 0
Accepted
time: 0ms
memory: 3624kb

input:

62

output:

Yes
2015 2048 994 1053 450 1545 2534 537 198 1809 2254 801 1246 257 1764 2331 68 1939 2124 931 1116 387 1608 2471 600 135 1872 2191 864 1183 320 1690 5 2002 2061 994 1053 450 1545 2534 537 198 1809 2254 801 1246 257 1764 2331 68 1939 2124 931 1116 387 1608 2471 600 135 1872 2191 32
2080 991 1024 482...

result:

ok 1

Test #30:

score: 0
Accepted
time: 1ms
memory: 3684kb

input:

130

output:

Yes
32639 32768 16128 16458 7989 24714 40821 8202 3877 28826 36709 12314 20293 4154 28549 36986 1797 30866 34669 14354 18253 6194 26509 39026 9997 2082 30621 34914 14109 18498 5949 26754 893 31746 33641 15382 17225 7222 25481 40054 8969 3110 29593 35942 13081 19526 4921 27782 37753 1030 31633 33902 ...

result:

ok 1

Test #31:

score: 0
Accepted
time: 1ms
memory: 3644kb

input:

126

output:

Yes
8127 8192 4026 4101 1938 6221 10162 2061 930 7197 9154 3133 4994 1097 7094 9225 422 7705 8646 3641 4486 1553 6606 9777 2446 545 7582 8769 3518 4609 1460 6667 164 7963 8388 3899 4228 1811 6348 10035 2188 803 7324 9027 3260 4867 1224 6967 9352 295 7832 8519 3768 4359 1680 6479 9904 2319 672 7455 8...

result:

ok 1

Test #32:

score: 0
Accepted
time: 0ms
memory: 3516kb

input:

66

output:

Yes
8127 8192 3968 4106 1957 6170 10181 2106 901 7186 9165 3122 5005 1058 7069 9282 445 7682 8649 3638 4489 1574 6553 9798 2489 518 7569 8782 3505 4622 1441 6686 193 7998 8321 3892 4235 1828 6299 10052 2235 772 7315 9036 3251 4876 1187 6940 9411 316 7811 8520 3767 4360 1703 6424 9927 2360 647 7440 8...

result:

ok 1

Test #33:

score: 0
Accepted
time: 4ms
memory: 7192kb

input:

1021

output:

Yes
523775 524288 261525 262250 130325 393450 654869 131562 64533 459338 589237 196682 326965 65738 458293 590282 31797 491658 556661 229770 294005 98570 425205 623114 163317 32778 490917 557146 228645 295130 97829 426458 15397 508058 540261 246170 277605 114970 408805 639514 146917 49178 474693 573...

result:

ok 1

Test #34:

score: 0
Accepted
time: 7ms
memory: 7148kb

input:

1022

output:

Yes
523775 524288 261738 262549 130154 393493 654570 131605 65002 458773 589386 197045 326730 65845 457930 590389 32202 491573 556170 230005 294282 98421 425226 622837 163338 33269 490506 557477 228442 295205 97498 426533 15834 507941 539802 246373 277914 114789 408858 639205 146970 49637 474138 574...

result:

ok 1

Test #35:

score: 0
Accepted
time: 11ms
memory: 7336kb

input:

1023

output:

Yes
523775 524288 261269 262762 130453 393322 654613 131306 65045 459242 588821 197194 327093 65610 458037 590026 32309 491978 556085 229514 294517 98698 425077 622858 163061 33290 490997 557066 228773 295002 97573 426202 15909 508378 539685 245914 278117 115098 408677 639258 146661 49690 474597 573...

result:

ok 1

Test #36:

score: 0
Accepted
time: 16ms
memory: 7208kb

input:

1024

output:

Yes
2096127 2097152 1046613 1048874 523477 1573674 2619605 524842 260565 1836074 2358229 786474 1309845 263018 1833109 2359914 129429 1967210 2227093 917610 1177877 394474 1702677 2490602 653845 131562 1965077 2229226 915477 1180490 391349 1704522 63925 2032714 2161589 983114 1112373 459978 1637173 ...

result:

ok 1

Test #37:

score: 0
Accepted
time: 12ms
memory: 7336kb

input:

1025

output:

Yes
2096127 2097152 1047466 1048661 522538 1574101 2620202 524501 260650 1835477 2358314 787413 1308714 263317 1833834 2359445 129642 1966485 2227306 918421 1177706 393493 1703146 2491157 653546 131605 1964522 2229269 916458 1179669 392010 1704117 64074 2032053 2161738 983989 1112138 459061 1637578 ...

result:

ok 1

Test #38:

score: 0
Accepted
time: 8ms
memory: 7204kb

input:

1026

output:

Yes
2096127 2097152 1046528 1049514 522325 1573162 2620629 525098 260309 1835562 2357717 787498 1309653 262186 1834133 2360170 129173 1966698 2226581 918634 1178517 393322 1702165 2491626 654101 131306 1964565 2228714 916501 1180650 391189 1704778 63669 2032202 2161077 984138 1113013 458826 1636661 ...

result:

ok 1

Test #39:

score: 0
Accepted
time: 8ms
memory: 7280kb

input:

1027

output:

Yes
2096127 2097152 1047551 1048576 523178 1572949 2619690 525525 260906 1835221 2357802 786901 1309738 263125 1833002 2360469 129898 1966229 2226794 917909 1178730 394133 1701994 2490645 654570 131861 1964266 2228757 915946 1180693 392170 1703957 64330 2031797 2161226 983477 1113162 459701 1636426 ...

result:

ok 1

Extra Test:

score: 0
Extra Test Passed