結果

問題 No.311 z in FizzBuzzString
ユーザー GrayCoder
提出日時 2018-02-25 21:59:56
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 142 bytes
コンパイル時間 169 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 17,568 KB
最終ジャッジ日時 2024-09-24 22:04:03
合計ジャッジ時間 3,248 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 6 TLE * 1 -- * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    N = int(input())

    z = 0
    for i in range(N):
        if not i % 3 or not i % 5:
            z += 2
    print(z)

main()
0