結果

問題 No.746 7の倍数
ユーザー Cyberdog-しばいぬ-
提出日時 2019-02-04 12:19:44
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 146 bytes
コンパイル時間 108 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 11,008 KB
最終ジャッジ日時 2024-12-24 15:34:24
合計ジャッジ時間 1,758 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other RE * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
x = 10 ** N
a = x
y = x % 7
x -= y
x /= 7
print("{0}".format(int(x / a))) if x == 0 \
    else print("{0}".format(float(x / a)))
0