QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#103545 | #2833. Hamilton | ZhangYiDe | TL | 5ms | 3524kb | C++20 | 3.3kb | 2023-05-06 16:24:35 | 2023-05-06 16:24:36 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 2ms
memory: 3452kb
input:
3 001 000 100 4 0000 0000 0000 0000
output:
3 2 1 3 4 1 2
result:
ok 2 cases.
Test #2:
score: 0
Accepted
time: 1ms
memory: 3416kb
input:
3 000 000 000 3 010 100 000 3 011 100 100 3 011 101 110
output:
3 2 1 2 3 1 3 2 1 3 2 1
result:
ok 4 cases.
Test #3:
score: 0
Accepted
time: 2ms
memory: 3424kb
input:
4 0000 0000 0000 0000 4 0000 0001 0000 0100 4 0100 1010 0100 0000 4 0111 1000 1000 1000 4 0010 0011 1101 0110 4 0111 1011 1100 1100 4 0111 1011 1101 1110 4 0000 0011 0101 0110 4 0101 1010 0100 1000 4 0011 0011 1100 1100 4 0010 0001 1000 0100
output:
3 4 1 2 3 4 1 2 3 4 1 2 3 1 2 4 1 3 4 2 3 4 1 2 3 4 1 2 3 1 2 4 3 4 1 2 2 4 1 3 3 4 1 2
result:
ok 11 cases.
Test #4:
score: 0
Accepted
time: 2ms
memory: 3524kb
input:
5 00000 00000 00000 00000 00000 5 00001 00000 00000 00000 10000 5 00010 00010 00000 11000 00000 5 00000 00001 00001 00001 01110 5 00001 00001 00001 00001 11110 5 00101 00100 11011 00100 10100 5 01111 10011 10000 11000 11000 5 00011 00011 00011 11101 11110 5 01101 10111 11001 01001 11110 5 00111 0011...
output:
5 4 1 2 3 5 4 1 2 3 2 4 1 5 3 2 3 1 4 5 2 3 1 4 5 5 4 1 2 3 2 4 1 5 3 2 4 1 5 3 5 4 2 1 3 2 4 1 5 3 5 4 1 2 3 5 4 1 2 3 5 4 2 1 3 2 3 1 4 5 3 1 2 4 5 5 4 1 2 3 2 3 1 4 5 5 4 1 2 3 2 4 1 5 3 2 3 1 4 5 5 4 1 2 3 2 4 1 5 3 3 1 2 4 5 5 4 1 2 3 5 4 1 2 3 3 1 2 4 5 5 4 1 2 3 5 4 1 2 3 5 4 1 2 3 5 4 1 2 3 ...
result:
ok 34 cases.
Test #5:
score: 0
Accepted
time: 0ms
memory: 3428kb
input:
6 000000 000000 000000 000000 000000 000000 6 000000 000000 000001 000000 000000 001000 6 010000 100100 000000 010000 000000 000000 6 000100 000000 000100 101010 000100 000000 6 000100 000000 000100 101011 000100 000100 6 001000 001000 110111 001000 001000 001000 6 001100 000100 100100 111011 000100...
output:
5 4 1 2 3 6 2 5 6 1 4 3 2 5 6 1 4 3 5 4 1 2 3 6 5 4 1 2 3 6 2 5 6 1 4 3 5 4 1 2 3 6 1 2 5 3 6 4 6 3 5 1 2 4 2 3 5 6 1 4 2 6 1 3 4 5 3 6 2 4 5 1 5 4 1 2 3 6 5 4 1 2 3 6 5 4 1 2 3 6 5 4 1 2 3 6 1 5 2 6 4 3 5 4 1 2 3 6 2 5 6 1 4 3 6 3 5 1 2 4 2 5 6 1 4 3 5 4 1 2 3 6 5 4 1 2 3 6 2 5 6 1 4 3 5 4 1 2 3 6 ...
result:
ok 156 cases.
Test #6:
score: 0
Accepted
time: 3ms
memory: 3476kb
input:
7 0000010 0001011 0001010 0110100 0001001 1110001 0100110 7 0101001 1011000 0101100 1110010 0010010 0001100 1000000 7 0001111 0011001 0100100 1100101 1011000 1000000 1101000 7 0111111 1011101 1101001 1110010 1100010 1001101 1110010 7 0010111 0010001 1101010 0010000 1000011 1010100 1100100 7 0001010 ...
output:
3 4 5 7 6 2 1 2 1 3 6 7 4 5 7 1 4 3 6 2 5 5 4 1 2 3 7 6 4 2 6 5 7 1 3 7 6 5 1 4 3 2 3 4 5 7 6 2 1 1 3 4 5 2 7 6 4 1 5 7 2 3 6 7 1 4 3 6 2 5 2 1 3 6 7 4 5 3 4 1 7 2 5 6 6 5 4 1 7 2 3 4 3 2 7 5 1 6 2 5 6 4 3 7 1 6 5 4 1 7 2 3 6 5 7 3 4 1 2 6 5 4 1 7 2 3 5 6 1 2 7 4 3 1 6 2 3 7 5 4 2 4 5 1 7 3 6 1 3 4 ...
result:
ok 286 cases.
Test #7:
score: 0
Accepted
time: 3ms
memory: 3516kb
input:
5 01000 10100 01010 00100 00000 9 001101110 001010001 110100110 101010000 010100011 100000000 101000000 101010001 010010010 4 0000 0011 0101 0110 8 00100101 00101100 11000011 00001111 01010101 11011000 00110000 10111000 9 000000001 001101000 010000100 010000111 000000000 010000111 001101010 00010110...
output:
2 4 1 5 3 6 3 5 7 4 9 1 2 8 3 1 2 4 4 1 5 7 8 3 2 6 1 9 2 7 5 8 3 6 4 2 4 1 3 5 4 1 2 3 6 3 6 2 4 5 1 5 4 1 2 3 7 6 2 3 5 7 4 6 1 10 6 9 2 1 8 3 7 4 5 1 9 10 8 3 2 5 6 4 7 3 6 1 5 2 4 4 6 2 7 5 3 8 1 5 8 7 9 3 6 1 4 2 2 3 1 3 2 1 3 6 1 5 2 4 7 6 5 1 4 3 2 2 3 1 2 3 1 2 3 1 4 5 3 6 2 4 5 1 5 2 4 1 8 ...
result:
ok 322 cases.
Test #8:
score: 0
Accepted
time: 5ms
memory: 3516kb
input:
10 0010001000 0010011001 1101101001 0010111000 0011000110 0101001100 1111010001 0000110011 0000100101 0110001110 10 0000000010 0000001001 0000001101 0000100000 0001010111 0000101011 0110010100 0010101000 1000110000 0110110000 10 0110010111 1011111110 1100101010 0100001101 0110001111 1100001010 01111...
output:
4 7 3 5 9 8 2 1 6 10 6 7 5 2 8 4 9 10 1 3 3 4 6 9 10 5 8 1 2 7 10 6 1 4 3 5 8 7 9 2 9 7 2 8 10 3 1 4 5 6 1 6 7 5 8 9 4 10 2 3 10 6 1 9 3 7 5 8 2 4 5 6 9 10 2 1 8 3 4 7 6 7 10 8 9 5 4 1 2 3 6 7 8 2 1 5 3 10 4 9 3 2 1 4 7 9 8 6 5 10 8 10 4 5 7 1 2 9 3 6 4 8 10 2 3 7 1 6 9 5 3 1 6 2 7 10 5 4 8 9 3 1 8 ...
result:
ok 200 cases.
Test #9:
score: 0
Accepted
time: 5ms
memory: 3400kb
input:
10 0110101100 1010100111 1101100101 0010111010 1111001010 0001000000 1001100111 1110001001 0101101000 0110001100 10 0111110111 1001111100 1001100100 1110101111 1111001010 1100001000 0101110100 1111001010 1001100100 1001000000 10 0100000111 1011111001 0100001111 0100100110 0101011100 0100100110 01101...
output:
10 6 7 9 4 5 3 1 2 8 8 4 1 2 3 7 9 10 6 5 7 6 10 4 9 3 2 1 8 5 6 2 3 9 5 1 8 7 10 4 2 4 9 1 5 8 7 3 10 6 1 7 8 5 4 9 2 6 10 3 7 6 2 3 10 9 1 8 5 4 7 5 6 4 3 10 8 9 2 1 2 9 7 4 8 10 1 5 3 6 8 10 3 4 2 5 1 7 6 9 4 7 3 5 9 8 2 1 6 10 6 7 5 2 8 4 9 10 1 3 9 7 2 8 10 3 1 4 5 6 8 6 9 5 1 7 3 10 2 4 9 5 7 ...
result:
ok 200 cases.
Test #10:
score: -100
Time Limit Exceeded
input:
20 00011111000111100010 00100111111000000010 01011011101000100111 10100010000100000010 10100100000010101101 11001001010010000111 11110000010000111001 11100100111000010101 01100001011101100010 01000111100111011001 01100001100111111111 10010000111001010000 10001100011001001000 10000000111110111010 101...