結果

問題 No.311 z in FizzBuzzString
ユーザー wf4n9
提出日時 2017-11-01 12:52:04
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 127 bytes
コンパイル時間 98 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 17,564 KB
最終ジャッジ日時 2024-09-24 22:00:35
合計ジャッジ時間 3,348 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 7 TLE * 1 -- * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

num = int(input())
num_z = 0

for i in range(1, num+1):
	if i % 3 == 0:
		num_z += 2
	if i % 5 == 0:
		num_z += 2
print(num_z)
0