結果
| 問題 |
No.593 4進FizzBuzz
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-11-12 12:42:49 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 234 bytes |
| コンパイル時間 | 389 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 14,576 KB |
| 最終ジャッジ日時 | 2024-11-24 23:12:37 |
| 合計ジャッジ時間 | 4,095 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 12 RE * 19 |
ソースコード
def main():
N = int(input())
three = 3
five = 11
ans = ''
if not N % three:
ans = 'Fizz'
if not N % five:
ans += 'Buzz'
if ans == '':
print(N)
else:
print(ans)
main()