結果

問題 No.746 7の倍数
ユーザー alexara1123alexara1123
提出日時 2019-09-21 12:23:46
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 183 bytes
コンパイル時間 518 ms
コンパイル使用メモリ 81,772 KB
実行使用メモリ 76,504 KB
最終ジャッジ日時 2023-10-17 18:54:37
合計ジャッジ時間 3,274 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 36 ms
53,468 KB
testcase_02 AC 37 ms
53,468 KB
testcase_03 AC 153 ms
76,504 KB
testcase_04 AC 37 ms
53,468 KB
testcase_05 AC 43 ms
67,400 KB
testcase_06 AC 65 ms
74,624 KB
testcase_07 AC 53 ms
74,528 KB
testcase_08 AC 65 ms
74,664 KB
testcase_09 AC 54 ms
74,532 KB
testcase_10 AC 41 ms
65,352 KB
testcase_11 AC 94 ms
75,220 KB
testcase_12 AC 141 ms
76,500 KB
testcase_13 AC 82 ms
74,852 KB
testcase_14 AC 93 ms
75,092 KB
testcase_15 AC 87 ms
74,968 KB
testcase_16 AC 93 ms
75,024 KB
testcase_17 AC 83 ms
74,968 KB
testcase_18 AC 96 ms
75,088 KB
testcase_19 AC 85 ms
74,904 KB
testcase_20 AC 56 ms
74,528 KB
testcase_21 AC 48 ms
74,532 KB
testcase_22 AC 109 ms
75,500 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    n = int(input())
    ans = "0."
    for i in range(n // 6):
        ans += "142857"
    ans += "142857"[:n % 6]
    print(ans)


if __name__ == '__main__':
    main()
0