QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#256838#7629. Make SYSU Great Again IIucup-team1565#AC ✓218ms52484kbC++202.5kb2023-11-18 22:09:422023-11-18 22:09:43

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4

output:

Yes
0 10 0 5 
12 1 12 2 
0 10 0 5 
3 4 3 8 

result:

ok 1

Test #2:

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

input:

1

output:

Yes
0 

result:

ok 1

Test #3:

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

input:

2

output:

Yes
0 10 
12 1 

result:

ok 1

Test #4:

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

input:

3

output:

Yes
0 10 0 
12 1 12 
0 10 0 

result:

ok 1

Test #5:

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

input:

5

output:

Yes
0 21 2 41 2 
14 32 12 18 12 
1 20 3 40 3 
50 9 48 7 48 
1 20 3 40 3 

result:

ok 1

Test #6:

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

input:

8

output:

Yes
0 21 2 41 2 21 0 43 
14 32 12 18 12 32 14 16 
1 20 3 40 3 20 1 42 
50 9 48 7 48 9 50 5 
1 20 3 40 3 20 1 42 
14 32 12 18 12 32 14 16 
0 21 2 41 2 21 0 43 
51 8 49 6 49 8 51 4 

result:

ok 1

Test #7:

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

input:

13

output:

Yes
12 83 4 169 6 81 14 161 14 81 6 169 4 
51 128 59 64 57 130 49 74 49 130 57 64 59 
8 87 0 173 2 85 10 165 10 85 2 173 0 
198 32 206 16 204 34 196 26 196 34 204 16 206 
9 86 1 172 3 84 11 164 11 84 3 172 1 
50 129 58 65 56 131 48 75 48 131 56 65 58 
13 82 5 168 7 80 15 160 15 80 7 168 5 
194 37 20...

result:

ok 1

Test #8:

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

input:

21

output:

Yes
60 323 28 675 20 331 52 649 54 329 22 673 30 321 62 641 62 321 30 673 22 
195 524 227 260 235 516 203 292 201 518 233 262 225 526 193 302 193 526 225 262 233 
44 339 12 691 4 347 36 665 38 345 6 689 14 337 46 657 46 337 14 689 6 
787 136 819 64 827 128 795 96 793 130 825 66 817 138 785 106 785 1...

result:

ok 1

Test #9:

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

input:

34

output:

Yes
252 1283 124 2691 92 1315 220 2595 212 1323 84 2699 116 1291 244 2569 246 1289 118 2697 86 1321 214 2593 222 1313 94 2689 126 1281 254 2561 254 1281 
771 2108 899 1052 931 2076 803 1172 811 2068 939 1044 907 2100 779 1204 777 2102 905 1046 937 2070 809 1174 801 2078 929 1054 897 2110 769 1214 76...

result:

ok 1

Test #10:

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

input:

55

output:

Yes
252 1283 124 2691 92 1315 220 2595 212 1323 84 2699 116 1291 244 2569 246 1289 118 2697 86 1321 214 2593 222 1313 94 2689 126 1281 254 2561 254 1281 126 2689 94 1313 222 2593 214 1321 86 2697 118 1289 246 2569 244 1291 116 2699 84 1323 212 
771 2108 899 1052 931 2076 803 1172 811 2068 939 1044 9...

result:

ok 1

Test #11:

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

input:

89

output:

Yes
1020 5123 508 10755 380 5251 892 10371 860 5283 348 10787 476 5155 988 10275 980 5163 468 10795 340 5291 852 10379 884 5259 372 10763 500 5131 1012 10249 1014 5129 502 10761 374 5257 886 10377 854 5289 342 10793 470 5161 982 10273 990 5153 478 10785 350 5281 862 10369 894 5249 382 10753 510 5121...

result:

ok 1

Test #12:

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

input:

100

output:

Yes
1020 5123 508 10755 380 5251 892 10371 860 5283 348 10787 476 5155 988 10275 980 5163 468 10795 340 5291 852 10379 884 5259 372 10763 500 5131 1012 10249 1014 5129 502 10761 374 5257 886 10377 854 5289 342 10793 470 5161 982 10273 990 5153 478 10785 350 5281 862 10369 894 5249 382 10753 510 5121...

result:

ok 1

Test #13:

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

input:

200

output:

Yes
4092 20483 2044 43011 1532 20995 3580 41475 3452 21123 1404 43139 1916 20611 3964 41091 3932 20643 1884 43171 1372 21155 3420 41507 3548 21027 1500 43043 2012 20515 4060 40995 4052 20523 2004 43051 1492 21035 3540 41515 3412 21163 1364 43179 1876 20651 3924 41099 3956 20619 1908 43147 1396 21131...

result:

ok 1

Test #14:

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

input:

300

output:

Yes
16380 81923 8188 172035 6140 83971 14332 165891 13820 84483 5628 172547 7676 82435 15868 164355 15740 82563 7548 172675 5500 84611 13692 166019 14204 84099 6012 172163 8060 82051 16252 163971 16220 82083 8028 172195 5980 84131 14172 166051 13660 84643 5468 172707 7516 82595 15708 164387 15836 82...

result:

ok 1

Test #15:

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

input:

400

output:

Yes
16380 81923 8188 172035 6140 83971 14332 165891 13820 84483 5628 172547 7676 82435 15868 164355 15740 82563 7548 172675 5500 84611 13692 166019 14204 84099 6012 172163 8060 82051 16252 163971 16220 82083 8028 172195 5980 84131 14172 166051 13660 84643 5468 172707 7516 82595 15708 164387 15836 82...

result:

ok 1

Test #16:

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

input:

500

output:

Yes
16380 81923 8188 172035 6140 83971 14332 165891 13820 84483 5628 172547 7676 82435 15868 164355 15740 82563 7548 172675 5500 84611 13692 166019 14204 84099 6012 172163 8060 82051 16252 163971 16220 82083 8028 172195 5980 84131 14172 166051 13660 84643 5468 172707 7516 82595 15708 164387 15836 82...

result:

ok 1

Test #17:

score: 0
Accepted
time: 27ms
memory: 15464kb

input:

600

output:

Yes
65532 327683 32764 688131 24572 335875 57340 663555 55292 337923 22524 690179 30716 329731 63484 657411 62972 330243 30204 690691 22012 338435 54780 664067 56828 336387 24060 688643 32252 328195 65020 655875 64892 328323 32124 688771 23932 336515 56700 664195 54652 338563 21884 690819 30076 3303...

result:

ok 1

Test #18:

score: 0
Accepted
time: 36ms
memory: 15516kb

input:

700

output:

Yes
65532 327683 32764 688131 24572 335875 57340 663555 55292 337923 22524 690179 30716 329731 63484 657411 62972 330243 30204 690691 22012 338435 54780 664067 56828 336387 24060 688643 32252 328195 65020 655875 64892 328323 32124 688771 23932 336515 56700 664195 54652 338563 21884 690819 30076 3303...

result:

ok 1

Test #19:

score: 0
Accepted
time: 31ms
memory: 15476kb

input:

800

output:

Yes
65532 327683 32764 688131 24572 335875 57340 663555 55292 337923 22524 690179 30716 329731 63484 657411 62972 330243 30204 690691 22012 338435 54780 664067 56828 336387 24060 688643 32252 328195 65020 655875 64892 328323 32124 688771 23932 336515 56700 664195 54652 338563 21884 690819 30076 3303...

result:

ok 1

Test #20:

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

input:

900

output:

Yes
65532 327683 32764 688131 24572 335875 57340 663555 55292 337923 22524 690179 30716 329731 63484 657411 62972 330243 30204 690691 22012 338435 54780 664067 56828 336387 24060 688643 32252 328195 65020 655875 64892 328323 32124 688771 23932 336515 56700 664195 54652 338563 21884 690819 30076 3303...

result:

ok 1

Test #21:

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

input:

1000

output:

Yes
65532 327683 32764 688131 24572 335875 57340 663555 55292 337923 22524 690179 30716 329731 63484 657411 62972 330243 30204 690691 22012 338435 54780 664067 56828 336387 24060 688643 32252 328195 65020 655875 64892 328323 32124 688771 23932 336515 56700 664195 54652 338563 21884 690819 30076 3303...

result:

ok 1

Test #22:

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

input:

1200

output:

Yes
262140 1310723 131068 2752515 98300 1343491 229372 2654211 221180 1351683 90108 2760707 122876 1318915 253948 2629635 251900 1320963 120828 2762755 88060 1353731 219132 2656259 227324 1345539 96252 2754563 129020 1312771 260092 2623491 259580 1313283 128508 2755075 95740 1346051 226812 2656771 2...

result:

ok 1

Test #23:

score: 0
Accepted
time: 121ms
memory: 52480kb

input:

1400

output:

Yes
262140 1310723 131068 2752515 98300 1343491 229372 2654211 221180 1351683 90108 2760707 122876 1318915 253948 2629635 251900 1320963 120828 2762755 88060 1353731 219132 2656259 227324 1345539 96252 2754563 129020 1312771 260092 2623491 259580 1313283 128508 2755075 95740 1346051 226812 2656771 2...

result:

ok 1

Test #24:

score: 0
Accepted
time: 165ms
memory: 52448kb

input:

1600

output:

Yes
262140 1310723 131068 2752515 98300 1343491 229372 2654211 221180 1351683 90108 2760707 122876 1318915 253948 2629635 251900 1320963 120828 2762755 88060 1353731 219132 2656259 227324 1345539 96252 2754563 129020 1312771 260092 2623491 259580 1313283 128508 2755075 95740 1346051 226812 2656771 2...

result:

ok 1

Test #25:

score: 0
Accepted
time: 185ms
memory: 52404kb

input:

1800

output:

Yes
262140 1310723 131068 2752515 98300 1343491 229372 2654211 221180 1351683 90108 2760707 122876 1318915 253948 2629635 251900 1320963 120828 2762755 88060 1353731 219132 2656259 227324 1345539 96252 2754563 129020 1312771 260092 2623491 259580 1313283 128508 2755075 95740 1346051 226812 2656771 2...

result:

ok 1

Test #26:

score: 0
Accepted
time: 189ms
memory: 52412kb

input:

1900

output:

Yes
262140 1310723 131068 2752515 98300 1343491 229372 2654211 221180 1351683 90108 2760707 122876 1318915 253948 2629635 251900 1320963 120828 2762755 88060 1353731 219132 2656259 227324 1345539 96252 2754563 129020 1312771 260092 2623491 259580 1313283 128508 2755075 95740 1346051 226812 2656771 2...

result:

ok 1

Test #27:

score: 0
Accepted
time: 211ms
memory: 52464kb

input:

1920

output:

Yes
262140 1310723 131068 2752515 98300 1343491 229372 2654211 221180 1351683 90108 2760707 122876 1318915 253948 2629635 251900 1320963 120828 2762755 88060 1353731 219132 2656259 227324 1345539 96252 2754563 129020 1312771 260092 2623491 259580 1313283 128508 2755075 95740 1346051 226812 2656771 2...

result:

ok 1

Test #28:

score: 0
Accepted
time: 218ms
memory: 52404kb

input:

2000

output:

Yes
262140 1310723 131068 2752515 98300 1343491 229372 2654211 221180 1351683 90108 2760707 122876 1318915 253948 2629635 251900 1320963 120828 2762755 88060 1353731 219132 2656259 227324 1345539 96252 2754563 129020 1312771 260092 2623491 259580 1313283 128508 2755075 95740 1346051 226812 2656771 2...

result:

ok 1

Test #29:

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

input:

62

output:

Yes
252 1283 124 2691 92 1315 220 2595 212 1323 84 2699 116 1291 244 2569 246 1289 118 2697 86 1321 214 2593 222 1313 94 2689 126 1281 254 2561 254 1281 126 2689 94 1313 222 2593 214 1321 86 2697 118 1289 246 2569 244 1291 116 2699 84 1323 212 2595 220 1315 92 2691 124 1283 
771 2108 899 1052 931 20...

result:

ok 1

Test #30:

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

input:

130

output:

Yes
4092 20483 2044 43011 1532 20995 3580 41475 3452 21123 1404 43139 1916 20611 3964 41091 3932 20643 1884 43171 1372 21155 3420 41507 3548 21027 1500 43043 2012 20515 4060 40995 4052 20523 2004 43051 1492 21035 3540 41515 3412 21163 1364 43179 1876 20651 3924 41099 3956 20619 1908 43147 1396 21131...

result:

ok 1

Test #31:

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

input:

126

output:

Yes
1020 5123 508 10755 380 5251 892 10371 860 5283 348 10787 476 5155 988 10275 980 5163 468 10795 340 5291 852 10379 884 5259 372 10763 500 5131 1012 10249 1014 5129 502 10761 374 5257 886 10377 854 5289 342 10793 470 5161 982 10273 990 5153 478 10785 350 5281 862 10369 894 5249 382 10753 510 5121...

result:

ok 1

Test #32:

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

input:

66

output:

Yes
1020 5123 508 10755 380 5251 892 10371 860 5283 348 10787 476 5155 988 10275 980 5163 468 10795 340 5291 852 10379 884 5259 372 10763 500 5131 1012 10249 1014 5129 502 10761 374 5257 886 10377 854 5289 342 10793 470 5161 982 10273 990 5153 478 10785 350 5281 862 10369 894 5249 382 10753 510 5121...

result:

ok 1

Test #33:

score: 0
Accepted
time: 53ms
memory: 15516kb

input:

1021

output:

Yes
65532 327683 32764 688131 24572 335875 57340 663555 55292 337923 22524 690179 30716 329731 63484 657411 62972 330243 30204 690691 22012 338435 54780 664067 56828 336387 24060 688643 32252 328195 65020 655875 64892 328323 32124 688771 23932 336515 56700 664195 54652 338563 21884 690819 30076 3303...

result:

ok 1

Test #34:

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

input:

1022

output:

Yes
65532 327683 32764 688131 24572 335875 57340 663555 55292 337923 22524 690179 30716 329731 63484 657411 62972 330243 30204 690691 22012 338435 54780 664067 56828 336387 24060 688643 32252 328195 65020 655875 64892 328323 32124 688771 23932 336515 56700 664195 54652 338563 21884 690819 30076 3303...

result:

ok 1

Test #35:

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

input:

1023

output:

Yes
65532 327683 32764 688131 24572 335875 57340 663555 55292 337923 22524 690179 30716 329731 63484 657411 62972 330243 30204 690691 22012 338435 54780 664067 56828 336387 24060 688643 32252 328195 65020 655875 64892 328323 32124 688771 23932 336515 56700 664195 54652 338563 21884 690819 30076 3303...

result:

ok 1

Test #36:

score: 0
Accepted
time: 52ms
memory: 15484kb

input:

1024

output:

Yes
65532 327683 32764 688131 24572 335875 57340 663555 55292 337923 22524 690179 30716 329731 63484 657411 62972 330243 30204 690691 22012 338435 54780 664067 56828 336387 24060 688643 32252 328195 65020 655875 64892 328323 32124 688771 23932 336515 56700 664195 54652 338563 21884 690819 30076 3303...

result:

ok 1

Test #37:

score: 0
Accepted
time: 90ms
memory: 52440kb

input:

1025

output:

Yes
262140 1310723 131068 2752515 98300 1343491 229372 2654211 221180 1351683 90108 2760707 122876 1318915 253948 2629635 251900 1320963 120828 2762755 88060 1353731 219132 2656259 227324 1345539 96252 2754563 129020 1312771 260092 2623491 259580 1313283 128508 2755075 95740 1346051 226812 2656771 2...

result:

ok 1

Test #38:

score: 0
Accepted
time: 104ms
memory: 52404kb

input:

1026

output:

Yes
262140 1310723 131068 2752515 98300 1343491 229372 2654211 221180 1351683 90108 2760707 122876 1318915 253948 2629635 251900 1320963 120828 2762755 88060 1353731 219132 2656259 227324 1345539 96252 2754563 129020 1312771 260092 2623491 259580 1313283 128508 2755075 95740 1346051 226812 2656771 2...

result:

ok 1

Test #39:

score: 0
Accepted
time: 90ms
memory: 52428kb

input:

1027

output:

Yes
262140 1310723 131068 2752515 98300 1343491 229372 2654211 221180 1351683 90108 2760707 122876 1318915 253948 2629635 251900 1320963 120828 2762755 88060 1353731 219132 2656259 227324 1345539 96252 2754563 129020 1312771 260092 2623491 259580 1313283 128508 2755075 95740 1346051 226812 2656771 2...

result:

ok 1

Extra Test:

score: 0
Extra Test Passed