結果

問題 No.746 7の倍数
ユーザー 夕叢霧香(ゆうむらきりか)夕叢霧香(ゆうむらきりか)
提出日時 2018-10-19 21:30:41
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 165 bytes
コンパイル時間 1,886 ms
コンパイル使用メモリ 87,228 KB
実行使用メモリ 76,684 KB
最終ジャッジ日時 2023-08-12 00:12:21
合計ジャッジ時間 4,777 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 71 ms
71,292 KB
testcase_02 AC 72 ms
71,220 KB
testcase_03 AC 80 ms
76,684 KB
testcase_04 AC 77 ms
76,684 KB
testcase_05 AC 76 ms
76,580 KB
testcase_06 AC 78 ms
76,620 KB
testcase_07 AC 76 ms
76,532 KB
testcase_08 AC 76 ms
76,244 KB
testcase_09 AC 80 ms
76,552 KB
testcase_10 AC 78 ms
76,644 KB
testcase_11 AC 80 ms
76,336 KB
testcase_12 AC 81 ms
76,248 KB
testcase_13 AC 78 ms
76,472 KB
testcase_14 AC 80 ms
76,496 KB
testcase_15 AC 79 ms
76,420 KB
testcase_16 AC 81 ms
76,340 KB
testcase_17 AC 78 ms
76,664 KB
testcase_18 AC 78 ms
76,424 KB
testcase_19 AC 78 ms
76,632 KB
testcase_20 AC 76 ms
76,260 KB
testcase_21 AC 77 ms
76,452 KB
testcase_22 AC 77 ms
76,560 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
n=int(input())
if n==1:
    print(0)
else:
    s='142857'
    sys.stdout.write('0.')
    for i in range(n):
        sys.stdout.write(s[i%6])
    print('')
0