問題一覧 > 通常問題

No.499 7進数変換

レベル : / 実行時間制限 : 1ケース 1.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 504
作問者 : kimiyuki / テスター : 👑 yumechi
お気に入りにしたユーザー ProblemId : 1580 / 自分の提出
問題文最終更新日: 2026-06-29 15:03:38
Base 7 Conversion
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence. Show the original
yukicoder contest 160 (順位表) の他の問題:

Problem Statement

You are given an integer $N$. Output the integer $N$. However, while the input is given in base $10$ notation, the output must be in base $7$ notation.

Input

N

The input $N$ satisfies $0 \le N \le {(10^9)}_{10}$.

Output

N

Print a newline at the end.

Sample

Sample 1
Input
18
Output
24

${(18)}_{10} = {(24)}_7$.

Sample 2
Input
7
Output
10

${(7)}_{10} = {(10)}_7$.

Sample 3
Input
1000000000
Output
33531600616

提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。