結果
問題 |
No.8022 縛りFizzBuzz (Easy)
|
ユーザー |
![]() |
提出日時 | 2022-04-01 00:05:32 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 266 bytes |
コンパイル時間 | 239 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-17 18:08:09 |
合計ジャッジ時間 | 959 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 4 |
ソースコード
N = int(input()) sfive = 'aaaaa' sthree = 'bbb' five = len(sfive) three= len(sthree) one = N/N s = '' for i in range(one,N+one): s = '' if i%three < one: s = 'Fizz' if i%five < one: s = s+'Buzz' if s == '': s = i print(s)