QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#235065#7629. Make SYSU Great Again IIucup-team003#AC ✓371ms47656kbC++171.7kb2023-11-02 12:39:342023-11-02 12:39:35

详细

Test #1:

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

input:

4

output:

Yes
4 1 2 5
0 0 5 10
1 4 8 5
6 9 4 0

result:

ok 1

Test #2:

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

input:

1

output:

Yes
0

result:

ok 1

Test #3:

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

input:

2

output:

Yes
2 1
0 0

result:

ok 1

Test #4:

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

input:

3

output:

Yes
4 1 2
0 0 5
1 4 8

result:

ok 1

Test #5:

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

input:

5

output:

Yes
28 35 8 20 8
33 12 19 8 20
10 17 12 19 0
17 10 17 4 35
10 17 2 33 4

result:

ok 1

Test #6:

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

input:

8

output:

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

result:

ok 1

Test #7:

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

input:

13

output:

Yes
128 8 83 36 19 76 129 32 153 102 153 2 24
5 80 40 19 68 131 44 145 96 153 6 25 194
82 37 16 72 131 36 147 108 145 0 25 198 57
33 18 69 128 40 147 100 147 12 17 192 57 70
20 65 130 37 144 104 147 4 19 204 49 64 57
72 132 33 146 101 144 8 19 196 51 76 49 128
130 40 148 97 146 5 16 200 51 68 51 140...

result:

ok 1

Test #8:

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

input:

21

output:

Yes
162 69 312 518 288 524 163 776 84 643 360 128 326 561 394 577 36 594 129 50 332
73 290 517 312 518 160 780 67 648 372 131 328 544 390 593 42 577 132 50 321 562
304 521 290 517 184 774 64 652 355 136 340 547 392 576 38 593 138 33 324 562 193
521 304 521 162 773 88 646 352 140 323 552 404 579 40 5...

result:

ok 1

Test #9:

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

input:

34

output:

Yes
305 3140 395 624 2179 1632 2450 1129 400 1037 754 1289 2598 1288 692 2306 1601 258 1557 2408 659 1356 48 334 3617 462 2081 346 3620 18 200 1570 81 780
3142 433 580 2187 1648 2435 1120 402 1065 720 1293 2610 1289 678 2312 1652 258 1537 2370 661 1384 19 332 3632 462 2081 334 3617 26 228 1554 72 80...

result:

ok 1

Test #10:

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

input:

55

output:

Yes
305 3140 395 624 2179 1632 2450 1129 400 1037 754 1289 2598 1288 692 2306 1601 258 1557 2408 659 1356 48 334 3617 462 2081 346 3620 18 200 1570 81 780 1089 2200 515 1152 2360 1669 2144 903 2168 901 3072 789 1226 2597 1368 132 89 164 3338 532 2472
3142 433 580 2187 1648 2435 1120 402 1065 720 129...

result:

ok 1

Test #11:

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

input:

89

output:

Yes
664 3077 8944 7173 8920 6407 1640 10258 4968 9363 6408 8418 5401 2752 5389 2 10608 5260 2128 12451 2648 9347 540 6370 9489 2562 1364 4769 3412 12417 2880 12301 2848 4305 8974 7217 458 9732 2458 5156 2944 12325 3210 12852 1475 2076 9762 4545 8748 2371 8752 4107 996 9233 4878 9264 838 5256 10548 1...

result:

ok 1

Test #12:

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

input:

100

output:

Yes
664 3077 8944 7173 8920 6407 1640 10258 4968 9363 6408 8418 5401 2752 5389 2 10608 5260 2128 12451 2648 9347 540 6370 9489 2562 1364 4769 3412 12417 2880 12301 2848 4305 8974 7217 458 9732 2458 5156 2944 12325 3210 12852 1475 2076 9762 4545 8748 2371 8752 4107 996 9233 4878 9264 838 5256 10548 1...

result:

ok 1

Test #13:

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

input:

200

output:

Yes
6080 49175 616 21781 43722 20773 1738 49425 11974 53537 10900 38145 17128 43029 21640 35697 24586 37973 8480 55385 10146 38988 17811 8748 35267 4136 49746 12708 35347 5348 18947 1476 27179 37248 27699 36936 3365 8392 17175 40072 16756 10762 32929 9034 7216 25095 3392 57867 6244 41610 17477 12856...

result:

ok 1

Test #14:

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

input:

300

output:

Yes
135792 57609 136916 33057 205504 19731 102540 27425 230556 18435 202060 59394 198341 57352 72577 181292 75856 181389 80192 34358 141384 22278 165969 87212 133970 78893 150210 106753 3186 53896 73795 6956 90112 40262 205353 49620 68650 184516 2074 103841 150082 110640 149892 13881 117062 131737 1...

result:

ok 1

Test #15:

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

input:

400

output:

Yes
135792 57609 136916 33057 205504 19731 102540 27425 230556 18435 202060 59394 198341 57352 72577 181292 75856 181389 80192 34358 141384 22278 165969 87212 133970 78893 150210 106753 3186 53896 73795 6956 90112 40262 205353 49620 68650 184516 2074 103841 150082 110640 149892 13881 117062 131737 1...

result:

ok 1

Test #16:

score: 0
Accepted
time: 23ms
memory: 12400kb

input:

500

output:

Yes
135792 57609 136916 33057 205504 19731 102540 27425 230556 18435 202060 59394 198341 57352 72577 181292 75856 181389 80192 34358 141384 22278 165969 87212 133970 78893 150210 106753 3186 53896 73795 6956 90112 40262 205353 49620 68650 184516 2074 103841 150082 110640 149892 13881 117062 131737 1...

result:

ok 1

Test #17:

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

input:

600

output:

Yes
62914 460861 42690 395316 579146 328100 58458 264737 246876 534945 250374 532640 184413 273536 639601 400396 25091 330196 672291 337360 692743 84080 929795 118100 926378 121109 263848 28695 265704 746003 297992 94692 167440 274728 755857 279650 240013 808530 133293 796498 213160 301843 550092 33...

result:

ok 1

Test #18:

score: 0
Accepted
time: 73ms
memory: 23596kb

input:

700

output:

Yes
62914 460861 42690 395316 579146 328100 58458 264737 246876 534945 250374 532640 184413 273536 639601 400396 25091 330196 672291 337360 692743 84080 929795 118100 926378 121109 263848 28695 265704 746003 297992 94692 167440 274728 755857 279650 240013 808530 133293 796498 213160 301843 550092 33...

result:

ok 1

Test #19:

score: 0
Accepted
time: 78ms
memory: 22472kb

input:

800

output:

Yes
62914 460861 42690 395316 579146 328100 58458 264737 246876 534945 250374 532640 184413 273536 639601 400396 25091 330196 672291 337360 692743 84080 929795 118100 926378 121109 263848 28695 265704 746003 297992 94692 167440 274728 755857 279650 240013 808530 133293 796498 213160 301843 550092 33...

result:

ok 1

Test #20:

score: 0
Accepted
time: 79ms
memory: 22812kb

input:

900

output:

Yes
62914 460861 42690 395316 579146 328100 58458 264737 246876 534945 250374 532640 184413 273536 639601 400396 25091 330196 672291 337360 692743 84080 929795 118100 926378 121109 263848 28695 265704 746003 297992 94692 167440 274728 755857 279650 240013 808530 133293 796498 213160 301843 550092 33...

result:

ok 1

Test #21:

score: 0
Accepted
time: 95ms
memory: 23124kb

input:

1000

output:

Yes
62914 460861 42690 395316 579146 328100 58458 264737 246876 534945 250374 532640 184413 273536 639601 400396 25091 330196 672291 337360 692743 84080 929795 118100 926378 121109 263848 28695 265704 746003 297992 94692 167440 274728 755857 279650 240013 808530 133293 796498 213160 301843 550092 33...

result:

ok 1

Test #22:

score: 0
Accepted
time: 251ms
memory: 47004kb

input:

1200

output:

Yes
953900 3236305 924678 2171097 153378 3743880 433923 2638068 101130 3695841 465664 550066 1180169 124198 2758872 1418277 2644184 1287684 2120049 1286794 788789 2332232 1337634 725149 1353218 2314409 298262 225897 3965970 80452 1310881 2636614 115864 2886246 123153 793638 2196305 1076258 397509 32...

result:

ok 1

Test #23:

score: 0
Accepted
time: 268ms
memory: 47248kb

input:

1400

output:

Yes
953900 3236305 924678 2171097 153378 3743880 433923 2638068 101130 3695841 465664 550066 1180169 124198 2758872 1418277 2644184 1287684 2120049 1286794 788789 2332232 1337634 725149 1353218 2314409 298262 225897 3965970 80452 1310881 2636614 115864 2886246 123153 793638 2196305 1076258 397509 32...

result:

ok 1

Test #24:

score: 0
Accepted
time: 313ms
memory: 46460kb

input:

1600

output:

Yes
953900 3236305 924678 2171097 153378 3743880 433923 2638068 101130 3695841 465664 550066 1180169 124198 2758872 1418277 2644184 1287684 2120049 1286794 788789 2332232 1337634 725149 1353218 2314409 298262 225897 3965970 80452 1310881 2636614 115864 2886246 123153 793638 2196305 1076258 397509 32...

result:

ok 1

Test #25:

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

input:

1800

output:

Yes
953900 3236305 924678 2171097 153378 3743880 433923 2638068 101130 3695841 465664 550066 1180169 124198 2758872 1418277 2644184 1287684 2120049 1286794 788789 2332232 1337634 725149 1353218 2314409 298262 225897 3965970 80452 1310881 2636614 115864 2886246 123153 793638 2196305 1076258 397509 32...

result:

ok 1

Test #26:

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

input:

1900

output:

Yes
953900 3236305 924678 2171097 153378 3743880 433923 2638068 101130 3695841 465664 550066 1180169 124198 2758872 1418277 2644184 1287684 2120049 1286794 788789 2332232 1337634 725149 1353218 2314409 298262 225897 3965970 80452 1310881 2636614 115864 2886246 123153 793638 2196305 1076258 397509 32...

result:

ok 1

Test #27:

score: 0
Accepted
time: 371ms
memory: 46084kb

input:

1920

output:

Yes
953900 3236305 924678 2171097 153378 3743880 433923 2638068 101130 3695841 465664 550066 1180169 124198 2758872 1418277 2644184 1287684 2120049 1286794 788789 2332232 1337634 725149 1353218 2314409 298262 225897 3965970 80452 1310881 2636614 115864 2886246 123153 793638 2196305 1076258 397509 32...

result:

ok 1

Test #28:

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

input:

2000

output:

Yes
953900 3236305 924678 2171097 153378 3743880 433923 2638068 101130 3695841 465664 550066 1180169 124198 2758872 1418277 2644184 1287684 2120049 1286794 788789 2332232 1337634 725149 1353218 2314409 298262 225897 3965970 80452 1310881 2636614 115864 2886246 123153 793638 2196305 1076258 397509 32...

result:

ok 1

Test #29:

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

input:

62

output:

Yes
305 3140 395 624 2179 1632 2450 1129 400 1037 754 1289 2598 1288 692 2306 1601 258 1557 2408 659 1356 48 334 3617 462 2081 346 3620 18 200 1570 81 780 1089 2200 515 1152 2360 1669 2144 903 2168 901 3072 789 1226 2597 1368 132 89 164 3338 532 2472 596 3211 848 1030 2641 1190 2073
3142 433 580 218...

result:

ok 1

Test #30:

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

input:

130

output:

Yes
6080 49175 616 21781 43722 20773 1738 49425 11974 53537 10900 38145 17128 43029 21640 35697 24586 37973 8480 55385 10146 38988 17811 8748 35267 4136 49746 12708 35347 5348 18947 1476 27179 37248 27699 36936 3365 8392 17175 40072 16756 10762 32929 9034 7216 25095 3392 57867 6244 41610 17477 12856...

result:

ok 1

Test #31:

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

input:

126

output:

Yes
664 3077 8944 7173 8920 6407 1640 10258 4968 9363 6408 8418 5401 2752 5389 2 10608 5260 2128 12451 2648 9347 540 6370 9489 2562 1364 4769 3412 12417 2880 12301 2848 4305 8974 7217 458 9732 2458 5156 2944 12325 3210 12852 1475 2076 9762 4545 8748 2371 8752 4107 996 9233 4878 9264 838 5256 10548 1...

result:

ok 1

Test #32:

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

input:

66

output:

Yes
664 3077 8944 7173 8920 6407 1640 10258 4968 9363 6408 8418 5401 2752 5389 2 10608 5260 2128 12451 2648 9347 540 6370 9489 2562 1364 4769 3412 12417 2880 12301 2848 4305 8974 7217 458 9732 2458 5156 2944 12325 3210 12852 1475 2076 9762 4545 8748 2371 8752 4107 996 9233 4878 9264 838 5256 10548 1...

result:

ok 1

Test #33:

score: 0
Accepted
time: 101ms
memory: 22228kb

input:

1021

output:

Yes
62914 460861 42690 395316 579146 328100 58458 264737 246876 534945 250374 532640 184413 273536 639601 400396 25091 330196 672291 337360 692743 84080 929795 118100 926378 121109 263848 28695 265704 746003 297992 94692 167440 274728 755857 279650 240013 808530 133293 796498 213160 301843 550092 33...

result:

ok 1

Test #34:

score: 0
Accepted
time: 107ms
memory: 24848kb

input:

1022

output:

Yes
62914 460861 42690 395316 579146 328100 58458 264737 246876 534945 250374 532640 184413 273536 639601 400396 25091 330196 672291 337360 692743 84080 929795 118100 926378 121109 263848 28695 265704 746003 297992 94692 167440 274728 755857 279650 240013 808530 133293 796498 213160 301843 550092 33...

result:

ok 1

Test #35:

score: 0
Accepted
time: 108ms
memory: 22396kb

input:

1023

output:

Yes
62914 460861 42690 395316 579146 328100 58458 264737 246876 534945 250374 532640 184413 273536 639601 400396 25091 330196 672291 337360 692743 84080 929795 118100 926378 121109 263848 28695 265704 746003 297992 94692 167440 274728 755857 279650 240013 808530 133293 796498 213160 301843 550092 33...

result:

ok 1

Test #36:

score: 0
Accepted
time: 102ms
memory: 23488kb

input:

1024

output:

Yes
62914 460861 42690 395316 579146 328100 58458 264737 246876 534945 250374 532640 184413 273536 639601 400396 25091 330196 672291 337360 692743 84080 929795 118100 926378 121109 263848 28695 265704 746003 297992 94692 167440 274728 755857 279650 240013 808530 133293 796498 213160 301843 550092 33...

result:

ok 1

Test #37:

score: 0
Accepted
time: 220ms
memory: 45928kb

input:

1025

output:

Yes
953900 3236305 924678 2171097 153378 3743880 433923 2638068 101130 3695841 465664 550066 1180169 124198 2758872 1418277 2644184 1287684 2120049 1286794 788789 2332232 1337634 725149 1353218 2314409 298262 225897 3965970 80452 1310881 2636614 115864 2886246 123153 793638 2196305 1076258 397509 32...

result:

ok 1

Test #38:

score: 0
Accepted
time: 232ms
memory: 47336kb

input:

1026

output:

Yes
953900 3236305 924678 2171097 153378 3743880 433923 2638068 101130 3695841 465664 550066 1180169 124198 2758872 1418277 2644184 1287684 2120049 1286794 788789 2332232 1337634 725149 1353218 2314409 298262 225897 3965970 80452 1310881 2636614 115864 2886246 123153 793638 2196305 1076258 397509 32...

result:

ok 1

Test #39:

score: 0
Accepted
time: 223ms
memory: 46052kb

input:

1027

output:

Yes
953900 3236305 924678 2171097 153378 3743880 433923 2638068 101130 3695841 465664 550066 1180169 124198 2758872 1418277 2644184 1287684 2120049 1286794 788789 2332232 1337634 725149 1353218 2314409 298262 225897 3965970 80452 1310881 2636614 115864 2886246 123153 793638 2196305 1076258 397509 32...

result:

ok 1

Extra Test:

score: 0
Extra Test Passed