結果

問題 No.746 7の倍数
ユーザー pluto77pluto77
提出日時 2018-10-21 09:47:40
言語 Python2
(2.7.18)
結果
AC  
実行時間 12 ms / 2,000 ms
コード長 105 bytes
コンパイル時間 710 ms
コンパイル使用メモリ 6,496 KB
実行使用メモリ 6,672 KB
最終ジャッジ日時 2023-08-12 05:38:07
合計ジャッジ時間 2,151 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
6,160 KB
testcase_01 AC 12 ms
6,288 KB
testcase_02 AC 12 ms
6,172 KB
testcase_03 AC 11 ms
6,672 KB
testcase_04 AC 11 ms
6,260 KB
testcase_05 AC 11 ms
6,160 KB
testcase_06 AC 12 ms
6,516 KB
testcase_07 AC 12 ms
6,284 KB
testcase_08 AC 11 ms
6,440 KB
testcase_09 AC 11 ms
6,284 KB
testcase_10 AC 11 ms
6,280 KB
testcase_11 AC 11 ms
6,612 KB
testcase_12 AC 11 ms
6,660 KB
testcase_13 AC 11 ms
6,580 KB
testcase_14 AC 11 ms
6,496 KB
testcase_15 AC 11 ms
6,484 KB
testcase_16 AC 11 ms
6,512 KB
testcase_17 AC 12 ms
6,640 KB
testcase_18 AC 12 ms
6,588 KB
testcase_19 AC 11 ms
6,468 KB
testcase_20 AC 12 ms
6,248 KB
testcase_21 AC 11 ms
6,260 KB
testcase_22 AC 11 ms
6,568 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#yuki746
import sys

n=int(raw_input())
s='142857'*10**5
if n==0:
 print 0
 sys.exit()
print '0.'+s[0:n]
0