結果
| 問題 | No.311 z in FizzBuzzString |
| コンテスト | |
| ユーザー |
ponponpop
|
| 提出日時 | 2018-09-06 19:05:29 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 159 bytes |
| 記録 | |
| コンパイル時間 | 107 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 17,568 KB |
| 最終ジャッジ日時 | 2024-09-24 22:11:51 |
| 合計ジャッジ時間 | 3,290 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 7 TLE * 1 -- * 3 |
ソースコード
n=int(input())
count=0
for i in range(1,n+1):
if i%15==0:
count+=4
elif i%3==0:
count+=2
elif i%5==0:
count+=2
print(count)
ponponpop