結果

問題 No.311 z in FizzBuzzString
ユーザー tookunn_1213
提出日時 2015-12-06 23:05:42
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 147 bytes
コンパイル時間 158 ms
コンパイル使用メモリ 7,068 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-24 21:24:08
合計ジャッジ時間 748 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 7 RE * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(raw_input())
ans = 0
for i in range(1,N + 1):
	if i % 3 == 0 and i % 5== 0:
		ans += 4
	elif i % 3 == 0 or i % 5 == 0:
		ans += 2
print ans
0