結果
| 問題 |
No.3022 一元一次式 mod 1000000000
|
| コンテスト | |
| ユーザー |
gew1fw
|
| 提出日時 | 2025-06-12 19:38:27 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 284 bytes |
| コンパイル時間 | 176 ms |
| コンパイル使用メモリ | 82,576 KB |
| 実行使用メモリ | 76,428 KB |
| 最終ジャッジ日時 | 2025-06-12 19:38:29 |
| 合計ジャッジ時間 | 1,906 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 20 |
ソースコード
n = int(input())
three = len('aaa')
five = len('aaaaa')
start = len('a')
for i in range(start, n + start):
if i % (three * five) == 0:
print("FizzBuzz")
elif i % three == 0:
print("Fizz")
elif i % five == 0:
print("Buzz")
else:
print(i)
gew1fw