結果

問題 No.746 7の倍数
ユーザー 夕叢霧香(ゆうむらきりか)夕叢霧香(ゆうむらきりか)
提出日時 2018-10-19 21:29:14
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 128 bytes
コンパイル時間 1,115 ms
コンパイル使用メモリ 87,204 KB
実行使用メモリ 100,276 KB
最終ジャッジ日時 2023-08-12 00:09:01
合計ジャッジ時間 8,715 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 72 ms
71,260 KB
testcase_02 AC 72 ms
71,376 KB
testcase_03 AC 793 ms
100,144 KB
testcase_04 AC 78 ms
75,964 KB
testcase_05 AC 91 ms
76,132 KB
testcase_06 AC 195 ms
78,216 KB
testcase_07 AC 140 ms
76,856 KB
testcase_08 AC 215 ms
78,164 KB
testcase_09 AC 130 ms
76,664 KB
testcase_10 AC 86 ms
76,224 KB
testcase_11 AC 394 ms
85,056 KB
testcase_12 AC 805 ms
100,276 KB
testcase_13 AC 301 ms
80,876 KB
testcase_14 AC 375 ms
83,660 KB
testcase_15 AC 329 ms
81,576 KB
testcase_16 AC 373 ms
82,660 KB
testcase_17 AC 358 ms
81,688 KB
testcase_18 AC 406 ms
83,340 KB
testcase_19 AC 324 ms
81,096 KB
testcase_20 AC 136 ms
76,680 KB
testcase_21 AC 105 ms
76,632 KB
testcase_22 AC 528 ms
87,880 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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