time limit per test
2 seconds
memory limit per test
256 megabytes
Given a positive integer x, let f(x) be the positive integer formed by reversing the binary representation of x without leading zeroes. For example, if x1211002, then f(x)001123. …