結果
| 問題 |
No.9002 FizzBuzz(テスト用)
|
| ユーザー |
norioc
|
| 提出日時 | 2022-05-14 18:30:27 |
| 言語 | Scheme (Gauche-0.9.15) |
| 結果 |
AC
|
| 実行時間 | 32 ms / 5,000 ms |
| コード長 | 270 bytes |
| コンパイル時間 | 238 ms |
| コンパイル使用メモリ | 6,944 KB |
| 実行使用メモリ | 17,152 KB |
| 最終ジャッジ日時 | 2024-07-23 04:39:42 |
| 合計ジャッジ時間 | 1,053 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
ソースコード
(let ((n (read)))
(do ((i 1 (+ i 1)))
((> i n))
(cond ((zero? (mod i 15))
(print "FizzBuzz"))
((zero? (mod i 3))
(print "Fizz"))
((zero? (mod i 5))
(print "Buzz"))
(else
(print i)))))
norioc