QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#249211#7629. Make SYSU Great Again IIucup-team2045#AC ✓161ms3608kbC++14967b2023-11-12 02:03:362023-11-12 02:03:36

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3528kb

input:

4

output:

Yes
0 22 33 28 
54 1 20 35 
9 52 3 20 
36 11 52 2 

result:

ok 1

Test #2:

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

input:

1

output:

Yes
0 

result:

ok 1

Test #3:

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

input:

2

output:

Yes
0 6 
10 1 

result:

ok 1

Test #4:

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

input:

3

output:

Yes
0 6 9 
10 1 4 
5 8 2 

result:

ok 1

Test #5:

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

input:

5

output:

Yes
0 22 33 28 35 
54 1 20 35 28 
9 52 3 20 34 
36 11 52 2 16 
27 36 10 48 6 

result:

ok 1

Test #6:

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

input:

8

output:

Yes
0 78 161 92 131 124 130 105 
238 1 76 163 92 130 121 134 
17 236 3 76 162 89 134 120 
204 19 236 2 73 166 88 135 
51 204 18 233 6 72 167 88 
204 50 201 22 232 7 72 165 
34 201 54 200 23 232 5 74 
153 38 200 55 200 21 234 4 

result:

ok 1

Test #7:

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

input:

13

output:

Yes
0 78 161 92 131 124 130 105 150 40 199 56 197 
238 1 76 163 92 130 121 134 104 151 40 197 58 
17 236 3 76 162 89 134 120 135 104 149 42 196 
204 19 236 2 73 166 88 135 120 133 106 148 32 
51 204 18 233 6 72 167 88 133 122 132 96 158 
204 50 201 22 232 7 72 165 90 132 112 142 97 
34 201 54 200 23...

result:

ok 1

Test #8:

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

input:

21

output:

Yes
0 286 705 316 643 380 642 345 550 472 519 504 517 442 580 403 620 146 845 176 783 
990 1 284 707 316 642 377 646 344 551 472 517 506 516 435 588 402 621 144 847 176 
33 988 3 284 706 313 646 376 647 344 549 474 516 499 524 434 589 400 623 144 846 
924 35 988 2 281 710 312 647 376 645 346 548 467...

result:

ok 1

Test #9:

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

input:

34

output:

Yes
0 1086 2945 1148 2819 1276 2818 1209 2630 1464 2567 1528 2565 1402 2692 1331 2252 1842 2189 1904 2063 2032 2062 1969 2122 1716 2315 1780 2313 1654 2440 1575 2520 550 
4030 1 1084 2947 1148 2818 1273 2822 1208 2631 1464 2565 1530 2564 1395 2700 1330 2253 1840 2191 1904 2062 2033 2058 1972 2123 17...

result:

ok 1

Test #10:

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

input:

55

output:

Yes
0 1086 2945 1148 2819 1276 2818 1209 2630 1464 2567 1528 2565 1402 2692 1331 2252 1842 2189 1904 2063 2032 2062 1969 2122 1716 2315 1780 2313 1654 2440 1575 2520 550 3481 612 3355 740 3354 673 3166 928 3103 992 3101 866 3228 803 3284 298 3733 360 3607 488 3606 
4030 1 1084 2947 1148 2818 1273 28...

result:

ok 1

Test #11:

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

input:

89

output:

Yes
0 4222 12033 4348 11779 4604 11778 4473 11398 4984 11271 5112 11269 4858 11524 4723 10636 5746 10509 5872 10255 6128 10254 6001 10378 5492 10763 5620 10761 5366 11016 5223 9112 7270 8985 7396 8731 7652 8730 7521 8350 8032 8223 8160 8221 7906 8476 7779 8596 6762 9493 6888 9239 7144 9238 7017 9362...

result:

ok 1

Test #12:

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

input:

100

output:

Yes
0 4222 12033 4348 11779 4604 11778 4473 11398 4984 11271 5112 11269 4858 11524 4723 10636 5746 10509 5872 10255 6128 10254 6001 10378 5492 10763 5620 10761 5366 11016 5223 9112 7270 8985 7396 8731 7652 8730 7521 8350 8032 8223 8160 8221 7906 8476 7779 8596 6762 9493 6888 9239 7144 9238 7017 9362...

result:

ok 1

Test #13:

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

input:

200

output:

Yes
0 16638 48641 16892 48131 17404 48130 17145 47366 18168 47111 18424 47109 17914 47620 17651 45836 19698 45581 19952 45071 20464 45070 20209 45322 19188 46091 19444 46089 18934 46600 18663 42776 22758 42521 23012 42011 23524 42010 23265 41246 24288 40991 24544 40989 24034 41500 23779 41748 21738 ...

result:

ok 1

Test #14:

score: 0
Accepted
time: 5ms
memory: 3580kb

input:

300

output:

Yes
0 66046 195585 66556 194563 67580 194562 67065 193030 69112 192519 69624 192517 68602 193540 68083 189964 72178 189453 72688 188431 73712 188430 73201 188938 71156 190475 71668 190473 70646 191496 70119 183832 78310 183321 78820 182299 79844 182298 79329 180766 81376 180255 81888 180253 80866 18...

result:

ok 1

Test #15:

score: 0
Accepted
time: 5ms
memory: 3408kb

input:

400

output:

Yes
0 66046 195585 66556 194563 67580 194562 67065 193030 69112 192519 69624 192517 68602 193540 68083 189964 72178 189453 72688 188431 73712 188430 73201 188938 71156 190475 71668 190473 70646 191496 70119 183832 78310 183321 78820 182299 79844 182298 79329 180766 81376 180255 81888 180253 80866 18...

result:

ok 1

Test #16:

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

input:

500

output:

Yes
0 66046 195585 66556 194563 67580 194562 67065 193030 69112 192519 69624 192517 68602 193540 68083 189964 72178 189453 72688 188431 73712 188430 73201 188938 71156 190475 71668 190473 70646 191496 70119 183832 78310 183321 78820 182299 79844 182298 79329 180766 81376 180255 81888 180253 80866 18...

result:

ok 1

Test #17:

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

input:

600

output:

Yes
0 263166 784385 264188 782339 266236 782338 265209 779270 269304 778247 270328 778245 268282 780292 267251 773132 275442 772109 276464 770063 278512 770062 277489 771082 273396 774155 274420 774153 272374 776200 271335 760856 287718 759833 288740 757787 290788 757786 289761 754718 293856 753695 ...

result:

ok 1

Test #18:

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

input:

700

output:

Yes
0 263166 784385 264188 782339 266236 782338 265209 779270 269304 778247 270328 778245 268282 780292 267251 773132 275442 772109 276464 770063 278512 770062 277489 771082 273396 774155 274420 774153 272374 776200 271335 760856 287718 759833 288740 757787 290788 757786 289761 754718 293856 753695 ...

result:

ok 1

Test #19:

score: 0
Accepted
time: 25ms
memory: 3544kb

input:

800

output:

Yes
0 263166 784385 264188 782339 266236 782338 265209 779270 269304 778247 270328 778245 268282 780292 267251 773132 275442 772109 276464 770063 278512 770062 277489 771082 273396 774155 274420 774153 272374 776200 271335 760856 287718 759833 288740 757787 290788 757786 289761 754718 293856 753695 ...

result:

ok 1

Test #20:

score: 0
Accepted
time: 28ms
memory: 3420kb

input:

900

output:

Yes
0 263166 784385 264188 782339 266236 782338 265209 779270 269304 778247 270328 778245 268282 780292 267251 773132 275442 772109 276464 770063 278512 770062 277489 771082 273396 774155 274420 774153 272374 776200 271335 760856 287718 759833 288740 757787 290788 757786 289761 754718 293856 753695 ...

result:

ok 1

Test #21:

score: 0
Accepted
time: 45ms
memory: 3360kb

input:

1000

output:

Yes
0 263166 784385 264188 782339 266236 782338 265209 779270 269304 778247 270328 778245 268282 780292 267251 773132 275442 772109 276464 770063 278512 770062 277489 771082 273396 774155 274420 774153 272374 776200 271335 760856 287718 759833 288740 757787 290788 757786 289761 754718 293856 753695 ...

result:

ok 1

Test #22:

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

input:

1200

output:

Yes
0 1050622 3141633 1052668 3137539 1056764 3137538 1054713 3131398 1062904 3129351 1064952 3129349 1060858 3133444 1058803 3119116 1075186 3117069 1077232 3112975 1081328 3112974 1079281 3115018 1071092 3121163 1073140 3121161 1069046 3125256 1066983 3094552 1099750 3092505 1101796 3088411 110589...

result:

ok 1

Test #23:

score: 0
Accepted
time: 82ms
memory: 3552kb

input:

1400

output:

Yes
0 1050622 3141633 1052668 3137539 1056764 3137538 1054713 3131398 1062904 3129351 1064952 3129349 1060858 3133444 1058803 3119116 1075186 3117069 1077232 3112975 1081328 3112974 1079281 3115018 1071092 3121163 1073140 3121161 1069046 3125256 1066983 3094552 1099750 3092505 1101796 3088411 110589...

result:

ok 1

Test #24:

score: 0
Accepted
time: 99ms
memory: 3444kb

input:

1600

output:

Yes
0 1050622 3141633 1052668 3137539 1056764 3137538 1054713 3131398 1062904 3129351 1064952 3129349 1060858 3133444 1058803 3119116 1075186 3117069 1077232 3112975 1081328 3112974 1079281 3115018 1071092 3121163 1073140 3121161 1069046 3125256 1066983 3094552 1099750 3092505 1101796 3088411 110589...

result:

ok 1

Test #25:

score: 0
Accepted
time: 131ms
memory: 3564kb

input:

1800

output:

Yes
0 1050622 3141633 1052668 3137539 1056764 3137538 1054713 3131398 1062904 3129351 1064952 3129349 1060858 3133444 1058803 3119116 1075186 3117069 1077232 3112975 1081328 3112974 1079281 3115018 1071092 3121163 1073140 3121161 1069046 3125256 1066983 3094552 1099750 3092505 1101796 3088411 110589...

result:

ok 1

Test #26:

score: 0
Accepted
time: 152ms
memory: 3348kb

input:

1900

output:

Yes
0 1050622 3141633 1052668 3137539 1056764 3137538 1054713 3131398 1062904 3129351 1064952 3129349 1060858 3133444 1058803 3119116 1075186 3117069 1077232 3112975 1081328 3112974 1079281 3115018 1071092 3121163 1073140 3121161 1069046 3125256 1066983 3094552 1099750 3092505 1101796 3088411 110589...

result:

ok 1

Test #27:

score: 0
Accepted
time: 152ms
memory: 3356kb

input:

1920

output:

Yes
0 1050622 3141633 1052668 3137539 1056764 3137538 1054713 3131398 1062904 3129351 1064952 3129349 1060858 3133444 1058803 3119116 1075186 3117069 1077232 3112975 1081328 3112974 1079281 3115018 1071092 3121163 1073140 3121161 1069046 3125256 1066983 3094552 1099750 3092505 1101796 3088411 110589...

result:

ok 1

Test #28:

score: 0
Accepted
time: 161ms
memory: 3408kb

input:

2000

output:

Yes
0 1050622 3141633 1052668 3137539 1056764 3137538 1054713 3131398 1062904 3129351 1064952 3129349 1060858 3133444 1058803 3119116 1075186 3117069 1077232 3112975 1081328 3112974 1079281 3115018 1071092 3121163 1073140 3121161 1069046 3125256 1066983 3094552 1099750 3092505 1101796 3088411 110589...

result:

ok 1

Test #29:

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

input:

62

output:

Yes
0 1086 2945 1148 2819 1276 2818 1209 2630 1464 2567 1528 2565 1402 2692 1331 2252 1842 2189 1904 2063 2032 2062 1969 2122 1716 2315 1780 2313 1654 2440 1575 2520 550 3481 612 3355 740 3354 673 3166 928 3103 992 3101 866 3228 803 3284 298 3733 360 3607 488 3606 425 3666 172 3859 236 3857 110 
403...

result:

ok 1

Test #30:

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

input:

130

output:

Yes
0 16638 48641 16892 48131 17404 48130 17145 47366 18168 47111 18424 47109 17914 47620 17651 45836 19698 45581 19952 45071 20464 45070 20209 45322 19188 46091 19444 46089 18934 46600 18663 42776 22758 42521 23012 42011 23524 42010 23265 41246 24288 40991 24544 40989 24034 41500 23779 41748 21738 ...

result:

ok 1

Test #31:

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

input:

126

output:

Yes
0 4222 12033 4348 11779 4604 11778 4473 11398 4984 11271 5112 11269 4858 11524 4723 10636 5746 10509 5872 10255 6128 10254 6001 10378 5492 10763 5620 10761 5366 11016 5223 9112 7270 8985 7396 8731 7652 8730 7521 8350 8032 8223 8160 8221 7906 8476 7779 8596 6762 9493 6888 9239 7144 9238 7017 9362...

result:

ok 1

Test #32:

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

input:

66

output:

Yes
0 4222 12033 4348 11779 4604 11778 4473 11398 4984 11271 5112 11269 4858 11524 4723 10636 5746 10509 5872 10255 6128 10254 6001 10378 5492 10763 5620 10761 5366 11016 5223 9112 7270 8985 7396 8731 7652 8730 7521 8350 8032 8223 8160 8221 7906 8476 7779 8596 6762 9493 6888 9239 7144 9238 7017 9362...

result:

ok 1

Test #33:

score: 0
Accepted
time: 48ms
memory: 3420kb

input:

1021

output:

Yes
0 263166 784385 264188 782339 266236 782338 265209 779270 269304 778247 270328 778245 268282 780292 267251 773132 275442 772109 276464 770063 278512 770062 277489 771082 273396 774155 274420 774153 272374 776200 271335 760856 287718 759833 288740 757787 290788 757786 289761 754718 293856 753695 ...

result:

ok 1

Test #34:

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

input:

1022

output:

Yes
0 263166 784385 264188 782339 266236 782338 265209 779270 269304 778247 270328 778245 268282 780292 267251 773132 275442 772109 276464 770063 278512 770062 277489 771082 273396 774155 274420 774153 272374 776200 271335 760856 287718 759833 288740 757787 290788 757786 289761 754718 293856 753695 ...

result:

ok 1

Test #35:

score: 0
Accepted
time: 39ms
memory: 3392kb

input:

1023

output:

Yes
0 263166 784385 264188 782339 266236 782338 265209 779270 269304 778247 270328 778245 268282 780292 267251 773132 275442 772109 276464 770063 278512 770062 277489 771082 273396 774155 274420 774153 272374 776200 271335 760856 287718 759833 288740 757787 290788 757786 289761 754718 293856 753695 ...

result:

ok 1

Test #36:

score: 0
Accepted
time: 37ms
memory: 3556kb

input:

1024

output:

Yes
0 1050622 3141633 1052668 3137539 1056764 3137538 1054713 3131398 1062904 3129351 1064952 3129349 1060858 3133444 1058803 3119116 1075186 3117069 1077232 3112975 1081328 3112974 1079281 3115018 1071092 3121163 1073140 3121161 1069046 3125256 1066983 3094552 1099750 3092505 1101796 3088411 110589...

result:

ok 1

Test #37:

score: 0
Accepted
time: 45ms
memory: 3364kb

input:

1025

output:

Yes
0 1050622 3141633 1052668 3137539 1056764 3137538 1054713 3131398 1062904 3129351 1064952 3129349 1060858 3133444 1058803 3119116 1075186 3117069 1077232 3112975 1081328 3112974 1079281 3115018 1071092 3121163 1073140 3121161 1069046 3125256 1066983 3094552 1099750 3092505 1101796 3088411 110589...

result:

ok 1

Test #38:

score: 0
Accepted
time: 45ms
memory: 3416kb

input:

1026

output:

Yes
0 1050622 3141633 1052668 3137539 1056764 3137538 1054713 3131398 1062904 3129351 1064952 3129349 1060858 3133444 1058803 3119116 1075186 3117069 1077232 3112975 1081328 3112974 1079281 3115018 1071092 3121163 1073140 3121161 1069046 3125256 1066983 3094552 1099750 3092505 1101796 3088411 110589...

result:

ok 1

Test #39:

score: 0
Accepted
time: 44ms
memory: 3420kb

input:

1027

output:

Yes
0 1050622 3141633 1052668 3137539 1056764 3137538 1054713 3131398 1062904 3129351 1064952 3129349 1060858 3133444 1058803 3119116 1075186 3117069 1077232 3112975 1081328 3112974 1079281 3115018 1071092 3121163 1073140 3121161 1069046 3125256 1066983 3094552 1099750 3092505 1101796 3088411 110589...

result:

ok 1

Extra Test:

score: 0
Extra Test Passed