QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#59494 | #3482. Color Codes | LH | AC ✓ | 748ms | 68472kb | Java11 | 3.2kb | 2022-10-29 17:14:16 | 2022-10-29 17:14:38 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 153ms
memory: 42212kb
input:
6 1 6
output:
impossible
result:
ok
Test #2:
score: 0
Accepted
time: 284ms
memory: 43752kb
input:
3 1 1
output:
000 001 011 010 110 111 101 100
result:
ok
Test #3:
score: 0
Accepted
time: 241ms
memory: 42372kb
input:
4 2 3 2
output:
0000 0011 0110 0101 1100 1111 1010 1001 1110 1101 1000 1011 0010 0001 0100 0111
result:
ok
Test #4:
score: 0
Accepted
time: 626ms
memory: 63424kb
input:
16 9 2 4 6 8 10 12 14 16 13
output:
0000000000000000 0000000000000011 0000000000000110 0000000000000101 0000000000001100 0000000000001111 0000000000001010 0000000000001001 0000000000011000 0000000000011011 0000000000011110 0000000000011101 0000000000010100 0000000000010111 0000000000010010 0000000000010001 0000000000110000 00000000001...
result:
ok
Test #5:
score: 0
Accepted
time: 694ms
memory: 64316kb
input:
16 1 15
output:
0000000000000000 0111111111111111 1100000000000000 1011111111111111 0110000000000000 0001111111111111 1010000000000000 1101111111111111 0011000000000000 0100111111111111 1111000000000000 1000111111111111 0101000000000000 0010111111111111 1001000000000000 1110111111111111 0001100000000000 01100111111...
result:
ok
Test #6:
score: 0
Accepted
time: 748ms
memory: 64500kb
input:
16 1 7
output:
0000000000000000 0000000001111111 0000000011000000 0000000010111111 0000000001100000 0000000000011111 0000000010100000 0000000011011111 0000000000110000 0000000001001111 0000000011110000 0000000010001111 0000000001010000 0000000000101111 0000000010010000 0000000011101111 0000000000011000 00000000011...
result:
ok
Test #7:
score: 0
Accepted
time: 632ms
memory: 63184kb
input:
16 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
output:
0000000000000000 0000000000000011 0000000000000110 0000000000000101 0000000000001100 0000000000001111 0000000000001010 0000000000001001 0000000000011000 0000000000011011 0000000000011110 0000000000011101 0000000000010100 0000000000010111 0000000000010010 0000000000010001 0000000000110000 00000000001...
result:
ok
Test #8:
score: 0
Accepted
time: 204ms
memory: 41920kb
input:
16 8 2 4 6 8 10 12 14 16
output:
impossible
result:
ok
Test #9:
score: 0
Accepted
time: 696ms
memory: 63172kb
input:
16 4 15 16 13 2
output:
0000000000000000 1111111111111111 1111111111111100 0000000000000011 0000000000000110 1111111111111001 1111111111111010 0000000000000101 0000000000001100 1111111111110011 1111111111110000 0000000000001111 0000000000001010 1111111111110101 1111111111110110 0000000000001001 0000000000011000 11111111111...
result:
ok
Test #10:
score: 0
Accepted
time: 508ms
memory: 57388kb
input:
15 2 10 15
output:
000000000000000 000001111111111 000011000000000 000010111111111 000001100000000 000000011111111 000010100000000 000011011111111 000000110000000 000001001111111 000011110000000 000010001111111 000001010000000 000000101111111 000010010000000 000011101111111 000000011000000 000001100111111 000011011000...
result:
ok
Test #11:
score: 0
Accepted
time: 504ms
memory: 57432kb
input:
15 1 13
output:
000000000000000 001111111111111 011000000000000 010111111111111 001100000000000 000011111111111 010100000000000 011011111111111 000110000000000 001001111111111 011110000000000 010001111111111 001010000000000 000101111111111 010010000000000 011101111111111 000011000000000 001100111111111 011011000000...
result:
ok
Test #12:
score: 0
Accepted
time: 235ms
memory: 44060kb
input:
15 7 2 4 6 8 10 12 14
output:
impossible
result:
ok
Test #13:
score: 0
Accepted
time: 247ms
memory: 43688kb
input:
15 1 15
output:
impossible
result:
ok
Test #14:
score: 0
Accepted
time: 505ms
memory: 57140kb
input:
15 4 9 6 7 2
output:
000000000000000 000000000111111 000000001100000 000000001011111 000000000110000 000000000001111 000000001010000 000000001101111 000000000011000 000000000100111 000000001111000 000000001000111 000000000101000 000000000010111 000000001001000 000000001110111 000000000001100 000000000110011 000000001101...
result:
ok
Test #15:
score: 0
Accepted
time: 167ms
memory: 43776kb
input:
1 1 1
output:
0 1
result:
ok
Test #16:
score: 0
Accepted
time: 209ms
memory: 44668kb
input:
2 1 1
output:
00 01 11 10
result:
ok
Test #17:
score: 0
Accepted
time: 253ms
memory: 44216kb
input:
2 1 2
output:
impossible
result:
ok
Test #18:
score: 0
Accepted
time: 172ms
memory: 43852kb
input:
3 1 2
output:
impossible
result:
ok
Test #19:
score: 0
Accepted
time: 235ms
memory: 44064kb
input:
3 1 3
output:
impossible
result:
ok
Test #20:
score: 0
Accepted
time: 291ms
memory: 46584kb
input:
3 2 2 3
output:
000 011 110 101 010 001 100 111
result:
ok
Test #21:
score: 0
Accepted
time: 261ms
memory: 43968kb
input:
4 2 2 4
output:
impossible
result:
ok
Test #22:
score: 0
Accepted
time: 243ms
memory: 44656kb
input:
4 1 3
output:
0000 0111 1100 1011 0110 0001 1010 1101 0011 0100 1111 1000 0101 0010 1001 1110
result:
ok
Test #23:
score: 0
Accepted
time: 166ms
memory: 44252kb
input:
5 2 2 4
output:
impossible
result:
ok
Test #24:
score: 0
Accepted
time: 271ms
memory: 46724kb
input:
5 1 1
output:
00000 00001 00011 00010 00110 00111 00101 00100 01100 01101 01111 01110 01010 01011 01001 01000 11000 11001 11011 11010 11110 11111 11101 11100 10100 10101 10111 10110 10010 10011 10001 10000
result:
ok
Test #25:
score: 0
Accepted
time: 209ms
memory: 46992kb
input:
5 2 3 1
output:
00000 00001 00011 00010 00110 00111 00101 00100 01100 01101 01111 01110 01010 01011 01001 01000 11000 11001 11011 11010 11110 11111 11101 11100 10100 10101 10111 10110 10010 10011 10001 10000
result:
ok
Test #26:
score: 0
Accepted
time: 237ms
memory: 46656kb
input:
5 3 1 5 3
output:
00000 00001 00011 00010 00110 00111 00101 00100 01100 01101 01111 01110 01010 01011 01001 01000 11000 11001 11011 11010 11110 11111 11101 11100 10100 10101 10111 10110 10010 10011 10001 10000
result:
ok
Test #27:
score: 0
Accepted
time: 253ms
memory: 46900kb
input:
5 2 3 5
output:
00000 00111 01100 01011 00110 00001 01010 01101 00011 00100 01111 01000 00101 00010 01001 01110 11101 11010 10001 10110 11011 11100 10111 10000 11110 11001 10010 10101 11000 11111 10100 10011
result:
ok
Test #28:
score: 0
Accepted
time: 191ms
memory: 45804kb
input:
6 2 2 4
output:
impossible
result:
ok
Test #29:
score: 0
Accepted
time: 229ms
memory: 46524kb
input:
6 1 5
output:
000000 011111 110000 101111 011000 000111 101000 110111 001100 010011 111100 100011 010100 001011 100100 111011 000110 011001 110110 101001 011110 000001 101110 110001 001010 010101 111010 100101 010010 001101 100010 111101 000011 011100 110011 101100 011011 000100 101011 110100 001111 010000 111111...
result:
ok
Test #30:
score: 0
Accepted
time: 256ms
memory: 46864kb
input:
6 2 3 1
output:
000000 000001 000011 000010 000110 000111 000101 000100 001100 001101 001111 001110 001010 001011 001001 001000 011000 011001 011011 011010 011110 011111 011101 011100 010100 010101 010111 010110 010010 010011 010001 010000 110000 110001 110011 110010 110110 110111 110101 110100 111100 111101 111111...
result:
ok
Test #31:
score: 0
Accepted
time: 192ms
memory: 46428kb
input:
6 5 4 6 3 5 1
output:
000000 001111 011000 010111 001100 000011 010100 011011 000110 001001 011110 010001 001010 000101 010010 011101 111010 110101 100010 101101 110110 111001 101110 100001 111100 110011 100100 101011 110000 111111 101000 100111 100110 101001 111110 110001 101010 100101 110010 111101 100000 101111 111000...
result:
ok
Test #32:
score: 0
Accepted
time: 285ms
memory: 47152kb
input:
6 3 5 2 3
output:
000000 000011 000110 000101 001100 001111 001010 001001 011000 011011 011110 011101 010100 010111 010010 010001 110000 110011 110110 110101 111100 111111 111010 111001 101000 101011 101110 101101 100100 100111 100010 100001 100110 100101 100000 100011 101010 101001 101100 101111 111110 111101 111000...
result:
ok
Test #33:
score: 0
Accepted
time: 178ms
memory: 45988kb
input:
7 3 2 4 6
output:
impossible
result:
ok
Test #34:
score: 0
Accepted
time: 224ms
memory: 46624kb
input:
7 1 5
output:
0000000 0011111 0110000 0101111 0011000 0000111 0101000 0110111 0001100 0010011 0111100 0100011 0010100 0001011 0100100 0111011 0000110 0011001 0110110 0101001 0011110 0000001 0101110 0110001 0001010 0010101 0111010 0100101 0010010 0001101 0100010 0111101 0000011 0011100 0110011 0101100 0011011 0000...
result:
ok
Test #35:
score: 0
Accepted
time: 246ms
memory: 46828kb
input:
7 2 3 1
output:
0000000 0000001 0000011 0000010 0000110 0000111 0000101 0000100 0001100 0001101 0001111 0001110 0001010 0001011 0001001 0001000 0011000 0011001 0011011 0011010 0011110 0011111 0011101 0011100 0010100 0010101 0010111 0010110 0010010 0010011 0010001 0010000 0110000 0110001 0110011 0110010 0110110 0110...
result:
ok
Test #36:
score: 0
Accepted
time: 238ms
memory: 47224kb
input:
7 4 6 4 3 5
output:
0000000 0111111 1100000 1011111 0110000 0001111 1010000 1101111 0011000 0100111 1111000 1000111 0101000 0010111 1001000 1110111 0001100 0110011 1101100 1010011 0111100 0000011 1011100 1100011 0010100 0101011 1110100 1001011 0100100 0011011 1000100 1111011 0000110 0111001 1100110 1011001 0110110 0001...
result:
ok
Test #37:
score: 0
Accepted
time: 267ms
memory: 46864kb
input:
7 3 2 7 6
output:
0000000 0000011 0000110 0000101 0001100 0001111 0001010 0001001 0011000 0011011 0011110 0011101 0010100 0010111 0010010 0010001 0110000 0110011 0110110 0110101 0111100 0111111 0111010 0111001 0101000 0101011 0101110 0101101 0100100 0100111 0100010 0100001 1100000 1100011 1100110 1100101 1101100 1101...
result:
ok
Test #38:
score: 0
Accepted
time: 189ms
memory: 46320kb
input:
8 3 2 4 6
output:
impossible
result:
ok
Test #39:
score: 0
Accepted
time: 238ms
memory: 47332kb
input:
8 1 7
output:
00000000 01111111 11000000 10111111 01100000 00011111 10100000 11011111 00110000 01001111 11110000 10001111 01010000 00101111 10010000 11101111 00011000 01100111 11011000 10100111 01111000 00000111 10111000 11000111 00101000 01010111 11101000 10010111 01001000 00110111 10001000 11110111 00001100 011...
result:
ok
Test #40:
score: 0
Accepted
time: 237ms
memory: 47072kb
input:
8 2 2 1
output:
00000000 00000011 00000110 00000101 00001100 00001111 00001010 00001001 00011000 00011011 00011110 00011101 00010100 00010111 00010010 00010001 00110000 00110011 00110110 00110101 00111100 00111111 00111010 00111001 00101000 00101011 00101110 00101101 00100100 00100111 00100010 00100001 01100000 011...
result:
ok
Test #41:
score: 0
Accepted
time: 250ms
memory: 46680kb
input:
8 1 1
output:
00000000 00000001 00000011 00000010 00000110 00000111 00000101 00000100 00001100 00001101 00001111 00001110 00001010 00001011 00001001 00001000 00011000 00011001 00011011 00011010 00011110 00011111 00011101 00011100 00010100 00010101 00010111 00010110 00010010 00010011 00010001 00010000 00110000 001...
result:
ok
Test #42:
score: 0
Accepted
time: 249ms
memory: 47372kb
input:
8 4 3 5 7 2
output:
00000000 00000011 00000110 00000101 00001100 00001111 00001010 00001001 00011000 00011011 00011110 00011101 00010100 00010111 00010010 00010001 00110000 00110011 00110110 00110101 00111100 00111111 00111010 00111001 00101000 00101011 00101110 00101101 00100100 00100111 00100010 00100001 01100000 011...
result:
ok
Test #43:
score: 0
Accepted
time: 242ms
memory: 45864kb
input:
9 4 2 4 6 8
output:
impossible
result:
ok
Test #44:
score: 0
Accepted
time: 201ms
memory: 45784kb
input:
9 1 4
output:
impossible
result:
ok
Test #45:
score: 0
Accepted
time: 248ms
memory: 46624kb
input:
9 2 3 9
output:
000000000 000000111 000001100 000001011 000000110 000000001 000001010 000001101 000000011 000000100 000001111 000001000 000000101 000000010 000001001 000001110 000011101 000011010 000010001 000010110 000011011 000011100 000010111 000010000 000011110 000011001 000010010 000010101 000011000 000011111 ...
result:
ok
Test #46:
score: 0
Accepted
time: 248ms
memory: 48584kb
input:
9 7 5 3 1 9 4 6 7
output:
000000000 000001111 000011000 000010111 000001100 000000011 000010100 000011011 000000110 000001001 000011110 000010001 000001010 000000101 000010010 000011101 000111010 000110101 000100010 000101101 000110110 000111001 000101110 000100001 000111100 000110011 000100100 000101011 000110000 000111111 ...
result:
ok
Test #47:
score: 0
Accepted
time: 249ms
memory: 48580kb
input:
9 4 5 8 9 6
output:
000000000 011111111 110000000 101111111 011000000 000111111 101000000 110111111 001100000 010011111 111100000 100011111 010100000 001011111 100100000 111011111 000110000 011001111 110110000 101001111 011110000 000001111 101110000 110001111 001010000 010101111 111010000 100101111 010010000 001101111 ...
result:
ok
Test #48:
score: 0
Accepted
time: 183ms
memory: 46180kb
input:
10 4 2 4 6 8
output:
impossible
result:
ok
Test #49:
score: 0
Accepted
time: 248ms
memory: 46228kb
input:
10 1 2
output:
impossible
result:
ok
Test #50:
score: 0
Accepted
time: 215ms
memory: 49496kb
input:
10 2 10 1
output:
0000000000 1111111111 1111111110 0000000001 0000000011 1111111100 1111111101 0000000010 0000000110 1111111001 1111111000 0000000111 0000000101 1111111010 1111111011 0000000100 0000001100 1111110011 1111110010 0000001101 0000001111 1111110000 1111110001 0000001110 0000001010 1111110101 1111110100 000...
result:
ok
Test #51:
score: 0
Accepted
time: 334ms
memory: 49396kb
input:
10 5 1 8 6 7 5
output:
0000000000 0011111111 0110000000 0101111111 0011000000 0000111111 0101000000 0110111111 0001100000 0010011111 0111100000 0100011111 0010100000 0001011111 0100100000 0111011111 0000110000 0011001111 0110110000 0101001111 0011110000 0000001111 0101110000 0110001111 0001010000 0010101111 0111010000 010...
result:
ok
Test #52:
score: 0
Accepted
time: 272ms
memory: 46444kb
input:
10 5 10 5 8 6 3
output:
0000000000 1111111111 1100000000 0011111111 0110000000 1001111111 1010000000 0101111111 0011000000 1100111111 1111000000 0000111111 0101000000 1010111111 1001000000 0110111111 0001100000 1110011111 1101100000 0010011111 0111100000 1000011111 1011100000 0100011111 0010100000 1101011111 1110100000 000...
result:
ok
Test #53:
score: 0
Accepted
time: 221ms
memory: 46128kb
input:
11 5 2 4 6 8 10
output:
impossible
result:
ok
Test #54:
score: 0
Accepted
time: 204ms
memory: 46080kb
input:
11 1 11
output:
impossible
result:
ok
Test #55:
score: 0
Accepted
time: 287ms
memory: 49848kb
input:
11 2 5 2
output:
00000000000 00000000011 00000000110 00000000101 00000001100 00000001111 00000001010 00000001001 00000011000 00000011011 00000011110 00000011101 00000010100 00000010111 00000010010 00000010001 00000110000 00000110011 00000110110 00000110101 00000111100 00000111111 00000111010 00000111001 00000101000 ...
result:
ok
Test #56:
score: 0
Accepted
time: 192ms
memory: 46168kb
input:
11 1 6
output:
impossible
result:
ok
Test #57:
score: 0
Accepted
time: 257ms
memory: 49236kb
input:
11 5 3 10 9 2 1
output:
00000000000 01111111111 11000000000 10111111111 01100000000 00011111111 10100000000 11011111111 00110000000 01001111111 11110000000 10001111111 01010000000 00101111111 10010000000 11101111111 00011000000 01100111111 11011000000 10100111111 01111000000 00000111111 10111000000 11000111111 00101000000 ...
result:
ok
Test #58:
score: 0
Accepted
time: 198ms
memory: 45892kb
input:
12 5 2 4 6 8 10
output:
impossible
result:
ok
Test #59:
score: 0
Accepted
time: 355ms
memory: 51000kb
input:
12 1 7
output:
000000000000 000001111111 000011000000 000010111111 000001100000 000000011111 000010100000 000011011111 000000110000 000001001111 000011110000 000010001111 000001010000 000000101111 000010010000 000011101111 000000011000 000001100111 000011011000 000010100111 000001111000 000000000111 000010111000 0...
result:
ok
Test #60:
score: 0
Accepted
time: 341ms
memory: 51484kb
input:
12 2 3 6
output:
000000000000 000000111111 000001100000 000001011111 000000110000 000000001111 000001010000 000001101111 000000011000 000000100111 000001111000 000001000111 000000101000 000000010111 000001001000 000001110111 000000001100 000000110011 000001101100 000001010011 000000111100 000000000011 000001011100 0...
result:
ok
Test #61:
score: 0
Accepted
time: 296ms
memory: 50752kb
input:
12 10 4 5 10 11 3 7 9 6 8 2
output:
000000000000 000000001111 000000011000 000000010111 000000001100 000000000011 000000010100 000000011011 000000000110 000000001001 000000011110 000000010001 000000001010 000000000101 000000010010 000000011101 000000111010 000000110101 000000100010 000000101101 000000110110 000000111001 000000101110 0...
result:
ok
Test #62:
score: 0
Accepted
time: 313ms
memory: 51192kb
input:
12 6 9 10 7 3 12 8
output:
000000000000 001111111111 011000000000 010111111111 001100000000 000011111111 010100000000 011011111111 000110000000 001001111111 011110000000 010001111111 001010000000 000101111111 010010000000 011101111111 000011000000 001100111111 011011000000 010100111111 001111000000 000000111111 010111000000 0...
result:
ok
Test #63:
score: 0
Accepted
time: 179ms
memory: 45924kb
input:
13 6 2 4 6 8 10 12
output:
impossible
result:
ok
Test #64:
score: 0
Accepted
time: 394ms
memory: 52468kb
input:
13 1 11
output:
0000000000000 0011111111111 0110000000000 0101111111111 0011000000000 0000111111111 0101000000000 0110111111111 0001100000000 0010011111111 0111100000000 0100011111111 0010100000000 0001011111111 0100100000000 0111011111111 0000110000000 0011001111111 0110110000000 0101001111111 0011110000000 000000...
result:
ok
Test #65:
score: 0
Accepted
time: 388ms
memory: 52452kb
input:
13 2 8 7
output:
0000000000000 0000011111111 0000110000000 0000101111111 0000011000000 0000000111111 0000101000000 0000110111111 0000001100000 0000010011111 0000111100000 0000100011111 0000010100000 0000001011111 0000100100000 0000111011111 0000000110000 0000011001111 0000110110000 0000101001111 0000011110000 000000...
result:
ok
Test #66:
score: 0
Accepted
time: 431ms
memory: 52108kb
input:
13 11 2 8 4 6 12 13 7 1 3 5 10
output:
0000000000000 0000000000011 0000000000110 0000000000101 0000000001100 0000000001111 0000000001010 0000000001001 0000000011000 0000000011011 0000000011110 0000000011101 0000000010100 0000000010111 0000000010010 0000000010001 0000000110000 0000000110011 0000000110110 0000000110101 0000000111100 000000...
result:
ok
Test #67:
score: 0
Accepted
time: 405ms
memory: 52468kb
input:
13 6 8 6 5 13 1 4
output:
0000000000000 0000011111111 0000110000000 0000101111111 0000011000000 0000000111111 0000101000000 0000110111111 0000001100000 0000010011111 0000111100000 0000100011111 0000010100000 0000001011111 0000100100000 0000111011111 0000000110000 0000011001111 0000110110000 0000101001111 0000011110000 000000...
result:
ok
Test #68:
score: 0
Accepted
time: 206ms
memory: 46292kb
input:
14 6 2 4 6 8 10 12
output:
impossible
result:
ok
Test #69:
score: 0
Accepted
time: 438ms
memory: 54100kb
input:
14 1 11
output:
00000000000000 00011111111111 00110000000000 00101111111111 00011000000000 00000111111111 00101000000000 00110111111111 00001100000000 00010011111111 00111100000000 00100011111111 00010100000000 00001011111111 00100100000000 00111011111111 00000110000000 00011001111111 00110110000000 00101001111111 ...
result:
ok
Test #70:
score: 0
Accepted
time: 209ms
memory: 45480kb
input:
14 2 2 12
output:
impossible
result:
ok
Test #71:
score: 0
Accepted
time: 434ms
memory: 54452kb
input:
14 3 10 3 6
output:
00000000000000 00001111111111 00011000000000 00010111111111 00001100000000 00000011111111 00010100000000 00011011111111 00000110000000 00001001111111 00011110000000 00010001111111 00001010000000 00000101111111 00010010000000 00011101111111 00000011000000 00001100111111 00011011000000 00010100111111 ...
result:
ok
Test #72:
score: 0
Accepted
time: 477ms
memory: 55380kb
input:
14 7 6 2 9 14 7 5 12
output:
00000000000000 00000000111111 00000001100000 00000001011111 00000000110000 00000000001111 00000001010000 00000001101111 00000000011000 00000000100111 00000001111000 00000001000111 00000000101000 00000000010111 00000001001000 00000001110111 00000000001100 00000000110011 00000001101100 00000001010011 ...
result:
ok
Test #73:
score: 0
Accepted
time: 521ms
memory: 59396kb
input:
15 2 8 5
output:
000000000000000 000000011111111 000000110000000 000000101111111 000000011000000 000000000111111 000000101000000 000000110111111 000000001100000 000000010011111 000000111100000 000000100011111 000000010100000 000000001011111 000000100100000 000000111011111 000000000110000 000000011001111 000000110110...
result:
ok
Test #74:
score: 0
Accepted
time: 223ms
memory: 45412kb
input:
15 3 14 2 12
output:
impossible
result:
ok
Test #75:
score: 0
Accepted
time: 567ms
memory: 59200kb
input:
15 8 13 7 11 9 14 3 10 12
output:
000000000000000 011111111111111 110000000000000 101111111111111 011000000000000 000111111111111 101000000000000 110111111111111 001100000000000 010011111111111 111100000000000 100011111111111 010100000000000 001011111111111 100100000000000 111011111111111 000110000000000 011001111111111 110110000000...
result:
ok
Test #76:
score: 0
Accepted
time: 745ms
memory: 67184kb
input:
16 2 5 15
output:
0000000000000000 0000000000011111 0000000000110000 0000000000101111 0000000000011000 0000000000000111 0000000000101000 0000000000110111 0000000000001100 0000000000010011 0000000000111100 0000000000100011 0000000000010100 0000000000001011 0000000000100100 0000000000111011 0000000000000110 00000000000...
result:
ok
Test #77:
score: 0
Accepted
time: 711ms
memory: 68472kb
input:
16 3 6 16 15
output:
0000000000000000 0000000000111111 0000000001100000 0000000001011111 0000000000110000 0000000000001111 0000000001010000 0000000001101111 0000000000011000 0000000000100111 0000000001111000 0000000001000111 0000000000101000 0000000000010111 0000000001001000 0000000001110111 0000000000001100 00000000001...
result:
ok
Test #78:
score: 0
Accepted
time: 709ms
memory: 67488kb
input:
16 8 14 8 15 4 13 1 3 10
output:
0000000000000000 0011111111111111 0110000000000000 0101111111111111 0011000000000000 0000111111111111 0101000000000000 0110111111111111 0001100000000000 0010011111111111 0111100000000000 0100011111111111 0010100000000000 0001011111111111 0100100000000000 0111011111111111 0000110000000000 00110011111...
result:
ok