結果
問題 | No.311 z in FizzBuzzString |
ユーザー |
![]() |
提出日時 | 2024-10-29 20:00:26 |
言語 | Common Lisp (sbcl 2.5.0) |
結果 |
AC
|
実行時間 | 10 ms / 1,500 ms |
コード長 | 229 bytes |
コンパイル時間 | 283 ms |
コンパイル使用メモリ | 37,028 KB |
実行使用メモリ | 29,860 KB |
最終ジャッジ日時 | 2024-10-29 20:00:28 |
合計ジャッジ時間 | 1,374 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 29 OCT 2024 08:00:26 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.012
ソースコード
(defun main (&rest argv)(declare (ignorable argv))(let* ((n (read))(a (floor n 15))(b (* a 4)))(incf b (* 2 (- (floor n 5) a)))(incf b (* 2 (- (floor n 3) a)))(format t "~D~%" b)))(main)