#M. C++-格雷码-4位数的二进制码和相应的格雷码

    Type: Default 1000ms 256MiB

C++-格雷码-4位数的二进制码和相应的格雷码

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Background

Description

计算4位数的二进制码和相应的格雷码

image

Format

Input

Output

Samples


0000 0000
0001 0001
0010 0011
0011 0010
0100 0110
0101 0111
0110 0101
0111 0100
1000 1100
1001 1101
1010 1111
1011 1110
1100 1010
1101 1011
1110 1001
1111 1000

Limitation

1s, 1024KiB for each test case.

二进制码和二进制格雷码的转换

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
13
Start at
2024-9-22 0:00
End at
2024-10-7 0:00
Duration
360 hour(s)
Host
Partic.
1