QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#248868#7629. Make SYSU Great Again IIucup-team253#RE 277ms103164kbC++142.2kb2023-11-11 22:20:512023-11-11 22:20:52

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4

output:

Yes
3 4 3 4 
0 3 0 3 
1 0 1 0 
2 1 2 1 

result:

ok 1

Test #2:

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

input:

1

output:

Yes
0 

result:

ok 1

Test #3:

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

input:

2

output:

Yes
0 0 
0 0 

result:

ok 1

Test #4:

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

input:

3

output:

Yes
1 2 1 
0 1 0 
1 0 0 

result:

ok 1

Test #5:

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

input:

5

output:

Yes
7 8 7 0 3 
0 3 0 3 4 
3 4 9 4 1 
4 1 2 1 2 
1 2 5 2 0 

result:

ok 1

Test #6:

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

input:

8

output:

Yes
15 48 15 48 15 16 15 16 
16 7 16 7 32 7 32 7 
11 0 11 0 11 0 11 0 
20 3 20 3 20 3 20 3 
41 4 41 4 9 4 9 4 
22 9 22 9 6 25 6 17 
1 6 1 6 17 2 17 10 
10 1 2 1 2 5 2 5 

result:

ok 1

Test #7:

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

input:

13

output:

Yes
63 64 31 96 31 96 31 96 31 32 15 16 47 
64 15 32 15 32 15 32 23 64 23 0 39 16 
55 0 23 0 23 0 7 40 7 40 7 24 39 
72 7 40 83 40 83 8 83 8 83 8 99 24 
51 8 147 44 19 44 19 44 19 44 19 12 35 
76 35 76 3 108 3 12 67 12 67 12 35 20 
35 20 3 52 3 20 33 20 33 4 49 4 41 
4 41 4 73 36 9 22 41 22 41 70 57...

result:

ok 1

Test #8:

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

input:

21

output:

Yes
127 128 127 128 63 192 63 192 63 192 63 64 159 96 31 96 31 96 31 96 31 
128 95 128 95 0 47 64 47 64 47 64 47 0 143 32 143 32 143 32 15 32 
111 0 111 0 111 144 15 208 15 80 15 80 167 80 135 48 199 48 199 48 199 
144 103 16 231 16 103 16 39 80 167 16 167 88 39 88 135 56 71 56 71 56 
103 152 103 24...

result:

ok 1

Test #9:

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

input:

34

output:

Yes
255 768 255 256 255 256 255 256 639 384 127 896 127 384 127 384 127 384 63 448 63 448 63 448 63 192 319 192 319 192 319 192 319 576 
256 191 512 223 0 223 0 223 0 607 128 95 640 95 128 95 128 95 128 31 320 31 320 31 320 31 64 287 64 287 64 287 64 159 
223 0 159 288 719 288 207 32 463 32 847 160 ...

result:

ok 1

Test #10:

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

input:

55

output:

Yes
1023 1024 511 1536 511 1536 511 1536 511 1536 2303 1792 255 1792 255 1792 255 1792 255 768 1279 768 1151 896 1151 896 1151 896 1151 896 2175 1920 127 1920 127 1920 127 1920 127 1408 639 1408 639 1408 639 1408 575 192 319 192 319 192 319 192 319 
1024 959 1024 447 512 447 512 447 512 447 512 2239...

result:

ok 1

Test #11:

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

input:

89

output:

Yes
2047 6144 2047 6144 2047 2048 1023 7168 1023 3072 1023 3072 1023 3072 4607 3584 4607 3584 511 7680 511 3584 511 3584 511 5632 2559 5632 2559 1536 2303 1792 2303 1792 2303 1792 2303 1792 255 3840 255 3840 255 3840 255 2816 1279 2816 1279 2816 1279 2816 1279 768 3327 768 3327 768 3327 768 1151 896...

result:

ok 1

Test #12:

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

input:

100

output:

Yes
2047 6144 2047 6144 2047 6144 2047 2048 5119 3072 1023 7168 1023 7168 1023 7168 1023 3072 4607 3584 4607 3584 4607 3584 4607 3584 511 7680 511 7680 511 7680 511 5632 2559 5632 2559 5632 2303 5888 2303 5888 2303 1792 6399 1792 6399 1792 2303 1792 4351 3840 4351 3840 4351 3840 255 7936 255 7936 25...

result:

ok 1

Test #13:

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

input:

200

output:

Yes
8191 24576 8191 24576 8191 24576 8191 8192 20479 12288 4095 28672 4095 28672 4095 28672 4095 12288 18431 14336 18431 14336 18431 14336 18431 14336 2047 30720 2047 30720 2047 30720 2047 22528 10239 22528 10239 22528 9215 23552 9215 23552 9215 23552 9215 7168 25599 7168 25599 7168 25599 7168 17407...

result:

ok 1

Test #14:

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

input:

300

output:

Yes
32767 32768 16383 49152 16383 49152 16383 49152 16383 49152 73727 57344 8191 57344 8191 57344 8191 57344 8191 24576 36863 28672 36863 28672 36863 28672 36863 28672 4095 61440 4095 61440 4095 61440 4095 45056 20479 45056 20479 45056 20479 45056 18431 47104 18431 47104 18431 14336 51199 14336 5119...

result:

ok 1

Test #15:

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

input:

400

output:

Yes
32767 98304 32767 98304 32767 98304 32767 32768 81919 49152 16383 114688 16383 114688 16383 114688 16383 49152 73727 57344 73727 57344 73727 57344 73727 57344 8191 122880 8191 122880 8191 122880 8191 90112 40959 90112 40959 90112 36863 94208 36863 94208 36863 94208 36863 28672 102399 28672 10239...

result:

ok 1

Test #16:

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

input:

500

output:

Yes
65535 196608 65535 196608 65535 65536 32767 229376 32767 229376 32767 98304 32767 98304 147455 114688 147455 114688 16383 245760 16383 114688 16383 114688 16383 180224 81919 180224 81919 49152 204799 57344 204799 57344 73727 188416 73727 188416 73727 57344 73727 57344 139263 122880 139263 122880...

result:

ok 1

Test #17:

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

input:

600

output:

Yes
131071 131072 65535 196608 65535 196608 65535 196608 65535 196608 294911 229376 32767 229376 32767 229376 32767 229376 32767 98304 147455 114688 147455 114688 147455 114688 147455 114688 278527 245760 16383 245760 16383 245760 16383 245760 16383 180224 81919 180224 81919 180224 335871 188416 737...

result:

ok 1

Test #18:

score: 0
Accepted
time: 41ms
memory: 22328kb

input:

700

output:

Yes
131071 393216 131071 393216 131071 131072 65535 458752 65535 196608 65535 196608 65535 196608 294911 229376 294911 229376 32767 491520 32767 229376 32767 229376 32767 360448 163839 360448 147455 376832 147455 376832 147455 114688 409599 114688 409599 114688 147455 114688 278527 245760 278527 245...

result:

ok 1

Test #19:

score: 0
Accepted
time: 60ms
memory: 27968kb

input:

800

output:

Yes
131071 393216 131071 393216 131071 393216 131071 131072 327679 196608 65535 458752 65535 458752 65535 458752 65535 196608 294911 229376 294911 229376 294911 229376 294911 229376 32767 491520 32767 491520 32767 491520 32767 360448 163839 360448 163839 360448 147455 376832 147455 376832 147455 376...

result:

ok 1

Test #20:

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

input:

900

output:

Yes
262143 786432 262143 262144 131071 917504 131071 393216 131071 393216 131071 393216 589823 458752 65535 458752 65535 458752 65535 458752 65535 720896 327679 196608 819199 229376 294911 753664 294911 229376 294911 229376 294911 229376 557055 491520 32767 491520 32767 491520 32767 491520 32767 360...

result:

ok 1

Test #21:

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

input:

1000

output:

Yes
262143 786432 262143 786432 262143 262144 131071 917504 131071 917504 131071 393216 131071 393216 589823 458752 589823 458752 65535 983040 65535 458752 65535 458752 65535 720896 327679 720896 327679 196608 819199 229376 819199 229376 294911 753664 294911 753664 294911 229376 294911 229376 557055...

result:

ok 1

Test #22:

score: 0
Accepted
time: 148ms
memory: 59444kb

input:

1200

output:

Yes
524287 524288 262143 786432 262143 786432 262143 786432 262143 786432 1179647 917504 131071 917504 131071 917504 131071 917504 131071 393216 589823 458752 589823 458752 589823 458752 589823 458752 1114111 983040 65535 983040 65535 983040 65535 983040 65535 720896 327679 720896 327679 720896 1343...

result:

ok 1

Test #23:

score: 0
Accepted
time: 213ms
memory: 79700kb

input:

1400

output:

Yes
524287 1572864 524287 1572864 524287 524288 262143 1835008 262143 786432 262143 786432 262143 786432 1179647 917504 1179647 917504 131071 1966080 131071 917504 131071 917504 131071 1441792 655359 1441792 589823 1507328 589823 1507328 589823 458752 1638399 458752 1638399 458752 589823 458752 1114...

result:

ok 1

Test #24:

score: 0
Accepted
time: 277ms
memory: 103164kb

input:

1600

output:

Yes
524287 1572864 524287 1572864 524287 1572864 524287 524288 1310719 786432 262143 1835008 262143 1835008 262143 1835008 262143 786432 1179647 917504 1179647 917504 1179647 917504 1179647 917504 131071 1966080 131071 1966080 131071 1966080 131071 1441792 655359 1441792 655359 1441792 589823 150732...

result:

ok 1

Test #25:

score: -100
Runtime Error

input:

1800

output:


result: