結果
| 問題 |
No.379 五円硬貨
|
| コンテスト | |
| ユーザー |
Common Lisp
|
| 提出日時 | 2024-10-31 12:11:01 |
| 言語 | Common Lisp (sbcl 2.5.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 209 bytes |
| コンパイル時間 | 380 ms |
| コンパイル使用メモリ | 32,960 KB |
| 実行使用メモリ | 32,024 KB |
| 最終ジャッジ日時 | 2024-10-31 12:11:03 |
| 合計ジャッジ時間 | 1,527 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 6 WA * 10 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 31 OCT 2024 12:11:01 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.003
ソースコード
(defun main (&rest argv)
(declare (ignorable argv))
(let* ((n (read))
(g (read))
(v (read))
(ans (/ (* (/ (float n 0d0) 5) g) (float v 0d0))))
(format t "~f~%" ans)))
(main)
Common Lisp