結果

問題 No.746 7の倍数
ユーザー kohei2019kohei2019
提出日時 2022-04-03 23:30:14
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 103 ms / 2,000 ms
コード長 144 bytes
コンパイル時間 344 ms
コンパイル使用メモリ 87,276 KB
実行使用メモリ 92,920 KB
最終ジャッジ日時 2023-08-15 22:38:24
合計ジャッジ時間 3,556 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,400 KB
testcase_01 AC 69 ms
71,152 KB
testcase_02 AC 70 ms
71,380 KB
testcase_03 AC 103 ms
92,920 KB
testcase_04 AC 78 ms
76,788 KB
testcase_05 AC 78 ms
77,016 KB
testcase_06 AC 84 ms
80,004 KB
testcase_07 AC 79 ms
78,748 KB
testcase_08 AC 83 ms
80,640 KB
testcase_09 AC 82 ms
78,796 KB
testcase_10 AC 79 ms
76,984 KB
testcase_11 AC 92 ms
88,020 KB
testcase_12 AC 101 ms
92,896 KB
testcase_13 AC 90 ms
86,124 KB
testcase_14 AC 91 ms
87,108 KB
testcase_15 AC 93 ms
86,048 KB
testcase_16 AC 93 ms
87,160 KB
testcase_17 AC 92 ms
86,204 KB
testcase_18 AC 93 ms
87,440 KB
testcase_19 AC 93 ms
86,256 KB
testcase_20 AC 81 ms
78,788 KB
testcase_21 AC 82 ms
77,220 KB
testcase_22 AC 100 ms
89,452 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
ansls = ['0.']
if N == 0:
    print(0)
    exit()
l = '142857'
for i in range(N):
    ansls.append(l[i%6])
print(*ansls,sep='')
0