Preparando MOJI

Binary notation

3000ms 262144K

Description:

You are given a positive integer n. Output its binary notation.

Input:

The only line of input data contains an integer n (1 ≤ n ≤ 106).

Output:

Output the binary notation of n (without any leading zeros).

Sample Input:

5

Sample Output:

101

Sample Input:

126

Sample Output:

1111110

Note:

In the first example 5 = 1 * 22 + 0 * 21 + 1 * 20.

Informação

Codeforces

Provedor Codeforces

Código CF162B

Tags

*special

Submetido 0

BOUA! 0

Taxa de BOUA's 0%

Datas 09/05/2023 08:35:08

Relacionados

Nada ainda