結果
| 問題 |
No.311 z in FizzBuzzString
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-12-24 12:27:46 |
| 言語 | Python2 (2.7.18) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 194 bytes |
| コンパイル時間 | 120 ms |
| コンパイル使用メモリ | 7,040 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-24 21:28:46 |
| 合計ジャッジ時間 | 704 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 WA * 5 RE * 4 |
ソースコード
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+3)%5 == 0:
num = num + 2
print num