結果

問題 No.311 z in FizzBuzzString
ユーザー ヒッキープログラミングスレヒッキープログラミングスレ
提出日時 2015-12-05 08:39:03
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 131 bytes
コンパイル時間 189 ms
コンパイル使用メモリ 81,792 KB
実行使用メモリ 63,840 KB
最終ジャッジ日時 2023-10-25 02:36:39
合計ジャッジ時間 3,526 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
57,908 KB
testcase_01 AC 38 ms
53,560 KB
testcase_02 AC 36 ms
53,560 KB
testcase_03 AC 36 ms
53,560 KB
testcase_04 AC 36 ms
53,560 KB
testcase_05 AC 36 ms
53,560 KB
testcase_06 AC 36 ms
53,560 KB
testcase_07 TLE -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
c = 0
i = 1
while i <= n:
    if i % 3 == 0:
        c += 2
    if i % 5 == 0:
        c += 2
    i += 1
print(c)
0