結果
| 問題 | No.311 z in FizzBuzzString |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-12-24 12:31:48 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 194 bytes |
| 記録 | |
| コンパイル時間 | 154 ms |
| コンパイル使用メモリ | 77,472 KB |
| 最終ジャッジ日時 | 2025-12-03 18:53:21 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 7 TLE * 1 -- * 3 |
ソースコード
aaa = input()
ans = ""
num = 0
for i in range(aaa):
if (i+1)%3 == 0 and (i+1)%5 == 0:
num = num + 4
elif (i+1)%3 == 0:
num = num + 2
elif (i+1)%5 == 0:
num = num + 2
print num