結果

問題 No.746 7の倍数
ユーザー bellangeldindonbellangeldindon
提出日時 2019-05-28 10:47:18
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 605 ms / 2,000 ms
コード長 168 bytes
コンパイル時間 196 ms
コンパイル使用メモリ 77,272 KB
実行使用メモリ 101,492 KB
最終ジャッジ日時 2023-10-17 18:22:26
合計ジャッジ時間 6,271 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
76,036 KB
testcase_01 AC 71 ms
76,036 KB
testcase_02 AC 71 ms
76,036 KB
testcase_03 AC 596 ms
101,492 KB
testcase_04 AC 77 ms
78,024 KB
testcase_05 AC 82 ms
78,024 KB
testcase_06 AC 156 ms
79,264 KB
testcase_07 AC 112 ms
78,240 KB
testcase_08 AC 168 ms
79,732 KB
testcase_09 AC 121 ms
78,240 KB
testcase_10 AC 82 ms
78,024 KB
testcase_11 AC 336 ms
86,140 KB
testcase_12 AC 605 ms
101,336 KB
testcase_13 AC 253 ms
81,992 KB
testcase_14 AC 302 ms
84,988 KB
testcase_15 AC 245 ms
83,080 KB
testcase_16 AC 270 ms
84,128 KB
testcase_17 AC 261 ms
83,080 KB
testcase_18 AC 297 ms
84,740 KB
testcase_19 AC 245 ms
82,744 KB
testcase_20 AC 124 ms
78,240 KB
testcase_21 AC 99 ms
78,024 KB
testcase_22 AC 406 ms
89,340 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

lst = ['1', '4', '2', '8', '5', '7']
N = int(raw_input())
ans = '0'
if N == 0: print ans
else:
	ans = ans + '.'
	for i in range(0, N):
		ans = ans + lst[i%6]
	print ans
0