結果

問題 No.746 7の倍数
ユーザー nebukuro09nebukuro09
提出日時 2018-10-19 21:32:44
言語 Python2
(2.7.18)
結果
AC  
実行時間 317 ms / 2,000 ms
コード長 119 bytes
コンパイル時間 97 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,656 KB
最終ジャッジ日時 2024-04-29 15:26:48
合計ジャッジ時間 3,101 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
6,400 KB
testcase_01 AC 11 ms
6,272 KB
testcase_02 AC 11 ms
6,272 KB
testcase_03 AC 317 ms
6,528 KB
testcase_04 AC 11 ms
6,400 KB
testcase_05 AC 15 ms
6,272 KB
testcase_06 AC 63 ms
6,528 KB
testcase_07 AC 37 ms
6,272 KB
testcase_08 AC 71 ms
6,272 KB
testcase_09 AC 37 ms
6,400 KB
testcase_10 AC 15 ms
6,272 KB
testcase_11 AC 164 ms
6,528 KB
testcase_12 AC 313 ms
6,656 KB
testcase_13 AC 109 ms
6,400 KB
testcase_14 AC 150 ms
6,528 KB
testcase_15 AC 126 ms
6,528 KB
testcase_16 AC 138 ms
6,272 KB
testcase_17 AC 123 ms
6,400 KB
testcase_18 AC 144 ms
6,272 KB
testcase_19 AC 119 ms
6,528 KB
testcase_20 AC 36 ms
6,400 KB
testcase_21 AC 21 ms
6,272 KB
testcase_22 AC 198 ms
6,400 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = input()
X = 10**N / 7
if N == 0:
    print 0
    exit()

ans = "0." + "0" * (N-1 - len(str(X))) + str(X)
print ans
0