QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#253306#7629. Make SYSU Great Again IIucup-team991AC ✓340ms19736kbC++172.0kb2023-11-16 21:07:292023-11-16 21:07:29

詳細信息

Test #1:

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

input:

4

output:

Yes
4 2 13 0
10 5 0 15
1 8 7 0
12 3 8 6

result:

ok 1

Test #2:

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

input:

1

output:

Yes
0

result:

ok 1

Test #3:

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

input:

2

output:

Yes
0 2
2 1

result:

ok 1

Test #4:

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

input:

3

output:

Yes
4 2 13
10 5 0
1 8 7

result:

ok 1

Test #5:

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

input:

5

output:

Yes
24 38 17 12 51
38 25 36 19 12
9 36 27 36 18
52 11 36 26 33
3 52 10 33 30

result:

ok 1

Test #6:

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

input:

8

output:

Yes
16 14 49 4 59 4 42 17
38 17 12 51 4 58 1 46
25 36 19 12 50 1 62 0
36 27 36 18 9 54 0 63
11 36 26 33 22 8 55 0
52 10 33 30 32 23 8 53
2 49 14 32 31 32 21 10
57 6 48 15 32 29 34 20

result:

ok 1

Test #7:

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

input:

13

output:

Yes
80 174 65 60 195 44 210 9 246 8 231 24 165
142 81 172 67 60 194 41 214 8 247 8 229 26
113 140 83 172 66 57 198 40 215 8 245 10 228
140 115 140 82 169 70 56 199 40 213 10 244 3
99 140 114 137 86 168 71 56 197 42 212 3 252
156 98 137 118 136 87 168 69 58 196 35 220 2
34 153 102 136 119 136 85 170 ...

result:

ok 1

Test #8:

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

input:

21

output:

Yes
480 542 449 572 323 668 354 665 294 728 263 248 773 218 804 147 876 146 845 48 975
542 481 540 451 572 322 665 358 664 295 728 261 250 772 211 812 146 877 144 847 48
417 540 483 540 450 569 326 664 359 664 293 730 260 243 780 210 813 144 879 144 846
604 419 540 482 537 454 568 327 664 357 666 29...

result:

ok 1

Test #9:

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

input:

34

output:

Yes
1536 2494 1601 2364 1731 2364 1666 2169 1926 2104 1991 2104 1861 2234 1796 2291 1292 2738 1357 2608 1487 2608 1422 2673 1162 2868 1227 2868 1097 2998 1032 999 3096 998
2558 1537 2492 1603 2364 1730 2361 1670 2168 1927 2104 1989 2106 1860 2227 1804 2290 1293 2736 1359 2608 1486 2609 1418 2676 116...

result:

ok 1

Test #10:

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

input:

55

output:

Yes
1408 2686 1153 2876 1219 2876 1090 3001 1030 1016 3079 952 3141 826 3268 819 3212 626 3469 560 3535 560 3406 689 3338 244 3851 180 3913 54 4040 39 3992 102 3737 292 3803 292 3674 417 3614 480 2591 1440 2653 1314 2780 1315 2708 1130 2965 1064 3031 1064 2902
2622 1409 2684 1155 2876 1218 2873 1094...

result:

ok 1

Test #11:

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

input:

89

output:

Yes
7424 8830 7553 8828 7299 9084 7170 9209 5126 11128 5255 10872 5509 10874 5380 10483 5900 10354 6029 10352 5775 10608 5646 10737 4618 11636 4747 11380 5001 11382 4872 11495 4376 11878 4505 11876 4251 12132 4122 4065 12318 3936 12447 3680 12701 3682 12572 3299 13076 3178 13205 3176 12951 3432 1282...

result:

ok 1

Test #12:

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

input:

100

output:

Yes
5248 10878 5505 10876 5379 10492 5890 10361 6022 10360 5767 10616 5637 10746 4612 11635 4748 11378 5005 11376 4879 11504 4366 11889 4490 11892 4235 12148 4105 4086 12296 3943 12440 3686 12697 3684 12571 3300 13082 3169 13214 3168 12959 3424 12829 2530 13852 2403 13972 2154 14229 2152 14103 2280 ...

result:

ok 1

Test #13:

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

input:

200

output:

Yes
20992 43518 22017 43260 22275 43260 21762 43769 21510 41976 23559 41720 23813 41210 24324 41203 24076 41458 23053 42224 23311 42224 22798 42737 22538 42996 18443 46836 18697 46326 19208 46311 18968 45542 19993 45284 20251 45284 19738 45793 19486 46048 17439 47840 17693 47330 18204 47331 17940 47...

result:

ok 1

Test #14:

score: 0
Accepted
time: 9ms
memory: 6172kb

input:

300

output:

Yes
114176 147966 113153 148988 112643 149500 108546 153081 109062 152056 110087 152056 109573 152570 107524 154099 108044 154098 107021 155120 106511 139248 122894 138737 123402 137716 124427 137716 123913 136182 125960 135655 126488 135654 125465 136676 124955 133092 129050 132577 129566 131552 13...

result:

ok 1

Test #15:

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

input:

400

output:

Yes
83968 174078 88065 173564 88579 172540 89602 172537 89094 173048 87047 174584 87557 174586 86532 175603 86028 167922 94221 167408 94735 166384 95758 166385 95242 164852 97291 164340 97801 164342 96776 165351 96280 165862 92185 169444 92699 168420 93722 168417 93214 168928 91167 170464 91677 1704...

result:

ok 1

Test #16:

score: 0
Accepted
time: 18ms
memory: 8720kb

input:

500

output:

Yes
68096 193022 69121 193020 68611 193532 66562 195065 67078 195064 66055 196088 65541 65530 196612 65011 197132 63986 198157 63984 197647 62448 199694 61937 200202 61940 199179 62964 198665 59382 202760 58855 203288 57830 204313 57828 203803 58340 201754 59873 202270 59872 201247 60896 200733 5321...

result:

ok 1

Test #17:

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

input:

600

output:

Yes
456704 591870 452609 594940 453635 594940 451586 596985 450566 598008 434183 613368 435205 611322 437252 611315 436236 608242 440333 607216 441359 607216 439310 609265 438282 610292 430091 617460 431113 615414 433160 615399 432152 616422 428057 619492 429083 619492 427034 621537 426014 557024 49...

result:

ok 1

Test #18:

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

input:

700

output:

Yes
510976 537598 508929 539644 507907 540668 475138 572409 476166 570360 478215 570360 477189 567290 481284 566259 482316 566258 480269 568304 479247 561136 487438 560113 488458 558068 490507 558068 489481 559094 485384 562151 486424 562150 484377 564196 483355 565220 466970 580577 467998 578528 47...

result:

ok 1

Test #19:

score: 0
Accepted
time: 57ms
memory: 10564kb

input:

800

output:

Yes
335872 696318 352257 695292 353283 693244 355330 693241 354310 690168 358407 689144 359429 689146 357380 691187 356364 692210 348173 699376 349199 697328 351246 697329 350218 698356 346123 701428 347145 701430 345096 703463 344088 671718 376857 670692 377883 668644 379930 668641 378910 665568 38...

result:

ok 1

Test #20:

score: 0
Accepted
time: 66ms
memory: 11600kb

input:

900

output:

Yes
295936 750590 297985 750588 296963 747516 301058 746489 302086 746488 300039 748536 299013 741370 307204 740339 308236 738290 310285 738288 309263 739312 305166 742385 306186 742388 304139 744436 303113 729078 319496 728039 320536 725990 322585 725988 321563 722916 325658 721889 326686 721888 32...

result:

ok 1

Test #21:

score: 0
Accepted
time: 86ms
memory: 12944kb

input:

1000

output:

Yes
272384 772094 276481 771068 277507 771068 275458 773113 274438 774136 266247 781304 267269 779258 269316 779251 268300 780274 264205 783344 265231 783344 263182 785393 262154 262132 786443 261108 787465 259062 789512 259047 788504 255974 792601 254948 793627 254948 791578 256993 790558 249824 79...

result:

ok 1

Test #22:

score: 0
Accepted
time: 129ms
memory: 14168kb

input:

1200

output:

Yes
1826816 2367486 1810433 2381820 1812483 2377724 1816578 2377721 1814534 2379768 1806343 2385912 1808389 2385914 1804292 2390003 1802252 2392050 1736717 2455536 1738767 2451440 1742862 2451441 1740810 2445300 1749003 2443252 1751049 2443254 1746952 2447335 1744920 2432998 1761305 2430948 1763355 ...

result:

ok 1

Test #23:

score: 0
Accepted
time: 155ms
memory: 15628kb

input:

1400

output:

Yes
2043904 2150398 2035713 2156540 2037763 2156540 2033666 2160633 2031622 2162680 1900551 2291704 1902597 2287610 1906692 2287603 1904652 2281458 1912845 2279408 1914895 2279408 1910798 2283505 1908746 2269172 1925131 2267124 1927177 2263030 1931272 2263015 1929240 2265062 1921049 2271204 1923099 ...

result:

ok 1

Test #24:

score: 0
Accepted
time: 216ms
memory: 18552kb

input:

1600

output:

Yes
1343488 2785278 1409025 2783228 1411075 2779132 1415170 2779129 1413126 2772984 1421319 2770936 1423365 2770938 1419268 2775027 1417228 2760690 1433613 2758640 1435663 2754544 1439758 2754545 1437706 2756596 1429515 2762740 1431561 2762742 1427464 2766823 1425432 2768870 1392665 2799588 1394715 ...

result:

ok 1

Test #25:

score: 0
Accepted
time: 273ms
memory: 18156kb

input:

1800

output:

Yes
1183744 3002366 1191937 3000316 1193987 3000316 1189890 3004409 1187846 2990072 1204231 2988024 1206277 2983930 1210372 2983923 1208332 2985970 1200141 2992112 1202191 2992112 1198094 2996209 1196042 2965492 1228811 2963444 1230857 2959350 1234952 2959335 1232920 2953190 1241113 2951140 1243163 ...

result:

ok 1

Test #26:

score: 0
Accepted
time: 316ms
memory: 19208kb

input:

1900

output:

Yes
1275904 2918398 1271809 2922492 1269763 2924540 1253378 2938873 1255430 2934776 1259527 2934776 1257477 2936826 1249284 2942963 1251340 2942962 1247245 2947056 1245199 2949104 1114126 3078129 1116170 3074036 1120267 3074036 1118217 3067894 1126408 3065831 1128472 3065830 1124377 3069924 1122331 ...

result:

ok 1

Test #27:

score: 0
Accepted
time: 316ms
memory: 18872kb

input:

1920

output:

Yes
1245184 2949118 1114113 3078140 1116163 3074044 1120258 3074041 1118214 3067896 1126407 3065848 1128453 3065850 1124356 3069939 1122316 3055602 1138701 3053552 1140751 3049456 1144846 3049457 1142794 3051508 1134603 3057652 1136649 3057654 1132552 3061735 1130520 3031014 1163289 3028964 1165339 ...

result:

ok 1

Test #28:

score: 0
Accepted
time: 340ms
memory: 19736kb

input:

2000

output:

Yes
1089536 3088382 1105921 3086332 1107971 3082236 1112066 3082233 1110022 3084280 1101831 3090424 1103877 3090426 1099780 3094515 1097740 3096562 1064973 3127280 1067023 3123184 1071118 3123185 1069066 3117044 1077259 3114996 1079305 3114998 1075208 3119079 1073176 3121126 1056793 3135460 1058843 ...

result:

ok 1

Test #29:

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

input:

62

output:

Yes
1088 3006 1025 1020 3075 956 3138 825 3270 824 3207 632 3461 570 3524 563 3404 690 3341 240 3855 176 3918 49 4042 52 3979 116 3721 310 3784 295 3672 422 3609 484 2587 1444 2650 1313 2782 1312 2719 1120 2973 1058 3036 1059 2900 1194 2837 1256 2327 1704 2390 1577 2514 1580 2451 1644 2193 1902
2878...

result:

ok 1

Test #30:

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

input:

130

output:

Yes
24576 40702 24833 40188 25347 40188 25090 39417 26118 39160 26375 39160 25861 39674 25604 37875 27660 37618 27917 37104 28431 37104 28174 37361 27146 38132 27403 38132 26889 38646 26632 34791 30744 34534 31001 34020 31515 34020 31258 33249 32286 32992 32543 32992 32029 33506 31772 33763 29716 35...

result:

ok 1

Test #31:

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

input:

126

output:

Yes
4224 12158 4097 4092 12291 3964 12418 3705 12678 3704 12551 3320 13061 3194 13188 3187 12940 3442 12813 2544 13839 2416 13966 2161 14218 2164 14091 2292 13577 2678 13704 2663 13464 2918 13337 996 15387 868 15514 609 15774 608 15647 224 16157 98 16284 99 16020 362 15893 488 14871 1384 14998 1129 ...

result:

ok 1

Test #32:

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

input:

66

output:

Yes
6144 10110 6273 9852 6531 9852 6402 9465 6918 9336 7047 9336 6789 9594 6660 8691 7692 8562 7821 8304 8079 8304 7950 8433 7434 8820 7563 8820 7305 9078 7176 9191 5144 11110 5273 10852 5531 10852 5402 10465 5918 10336 6047 10336 5789 10594 5660 10723 4628 11626 4757 11368 5015 11368 4886 11497 437...

result:

ok 1

Test #33:

score: 0
Accepted
time: 85ms
memory: 12692kb

input:

1021

output:

Yes
263168 785406 262145 262140 786435 261116 787458 259065 789510 259064 788487 255992 792581 254970 793604 254963 791564 257010 790541 249840 798735 248816 799758 246769 801802 246772 800779 247796 796681 250870 797704 250855 795672 252902 794649 237540 811035 236516 812058 234465 814110 234464 81...

result:

ok 1

Test #34:

score: 0
Accepted
time: 83ms
memory: 13496kb

input:

1022

output:

Yes
263168 785406 262145 262140 786435 261116 787458 259065 789510 259064 788487 255992 792581 254970 793604 254963 791564 257010 790541 249840 798735 248816 799758 246769 801802 246772 800779 247796 796681 250870 797704 250855 795672 252902 794649 237540 811035 236516 812058 234465 814110 234464 81...

result:

ok 1

Test #35:

score: 0
Accepted
time: 84ms
memory: 11704kb

input:

1023

output:

Yes
262144 262142 786433 261116 787459 259068 789506 259065 788486 255992 792583 254968 793605 254970 791556 257011 790540 249842 798733 248816 799759 246768 801806 246769 800778 247796 796683 250868 797705 250870 795656 252903 794648 237542 811033 236516 812059 234468 814106 234465 813086 231392 81...

result:

ok 1

Test #36:

score: 0
Accepted
time: 84ms
memory: 11928kb

input:

1024

output:

Yes
262144 262142 786433 261116 787459 259068 789506 259065 788486 255992 792583 254968 793605 254970 791556 257011 790540 249842 798733 248816 799759 246768 801806 246769 800778 247796 796683 250868 797705 250870 795656 252903 794648 237542 811033 236516 812059 234468 814106 234465 813086 231392 81...

result:

ok 1

Test #37:

score: 0
Accepted
time: 89ms
memory: 13420kb

input:

1025

output:

Yes
1572864 2619390 1574913 2615292 1579011 2615292 1576962 2609145 1585158 2607096 1587207 2607096 1583109 2611194 1581060 2596851 1597452 2594802 1599501 2590704 1603599 2590704 1601550 2592753 1593354 2598900 1595403 2598900 1591305 2602998 1589256 2572263 1622040 2570214 1624089 2566116 1628187 ...

result:

ok 1

Test #38:

score: 0
Accepted
time: 86ms
memory: 13692kb

input:

1026

output:

Yes
1572864 2619390 1574913 2615292 1579011 2615292 1576962 2609145 1585158 2607096 1587207 2607096 1583109 2611194 1581060 2596851 1597452 2594802 1599501 2590704 1603599 2590704 1601550 2592753 1593354 2598900 1595403 2598900 1591305 2602998 1589256 2572263 1622040 2570214 1624089 2566116 1628187 ...

result:

ok 1

Test #39:

score: 0
Accepted
time: 87ms
memory: 12608kb

input:

1027

output:

Yes
1574912 2615294 1579009 2615292 1576963 2609148 1585154 2607097 1587206 2607096 1583111 2611192 1581061 2596858 1597444 2594803 1599500 2590706 1603597 2590704 1601551 2592752 1593358 2598897 1595402 2598900 1591307 2602996 1589257 2572278 1622024 2570215 1624088 2566118 1628185 2566116 1626139 ...

result:

ok 1

Extra Test:

score: 0
Extra Test Passed