#2555. C++-GESP 2023-09认证三级-编程题02(进制判断)

C++-GESP 2023-09认证三级-编程题02(进制判断)

Background

Description

image

image

Format

Input

Output

Samples

2
15A6F
1011
0 0 0 1
1 1 1 1
4
1234567
12345678
FF
GG
0 1 1 1
0 0 1 1
0 0 0 1
0 0 0 0

Limitation

1s, 1024KiB for each test case.