結果

問題 No.746 7の倍数
ユーザー koba-e964koba-e964
提出日時 2021-10-06 01:36:31
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 91 ms / 2,000 ms
コード長 174 bytes
コンパイル時間 347 ms
コンパイル使用メモリ 86,956 KB
実行使用メモリ 78,288 KB
最終ジャッジ日時 2023-09-30 08:36:28
合計ジャッジ時間 3,179 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,272 KB
testcase_01 AC 68 ms
71,312 KB
testcase_02 AC 68 ms
71,116 KB
testcase_03 AC 91 ms
78,092 KB
testcase_04 AC 84 ms
76,540 KB
testcase_05 AC 81 ms
76,872 KB
testcase_06 AC 83 ms
77,264 KB
testcase_07 AC 81 ms
76,764 KB
testcase_08 AC 80 ms
77,444 KB
testcase_09 AC 79 ms
76,952 KB
testcase_10 AC 80 ms
76,812 KB
testcase_11 AC 84 ms
78,220 KB
testcase_12 AC 88 ms
78,288 KB
testcase_13 AC 85 ms
78,188 KB
testcase_14 AC 85 ms
78,276 KB
testcase_15 AC 85 ms
78,148 KB
testcase_16 AC 89 ms
78,188 KB
testcase_17 AC 91 ms
78,244 KB
testcase_18 AC 87 ms
78,276 KB
testcase_19 AC 86 ms
78,128 KB
testcase_20 AC 80 ms
76,864 KB
testcase_21 AC 83 ms
76,812 KB
testcase_22 AC 88 ms
78,028 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3

n = int(input())

if n == 0:
    print('0')
    exit()

print('0.', end='')

for i in range(n):
    print([1, 4, 2, 8, 5, 7][i % 6], end='')

print()
0