#B. C++-格雷码-二进制格雷码转换成二进制码

    Type: Default 1000ms 256MiB

C++-格雷码-二进制格雷码转换成二进制码

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

二进制格雷码转换成二进制码,其法则是保留格雷码的最高位作为自然二进制码的最高位,而次高位自然二进制码为高位自然二进制码与次高位格雷码相异或,而自然二进制码的其余各位与次高位自然二进制码的求法相类似。

image

Format

Input

Output

Samples



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