結果
| 問題 |
No.881 sin(x)/xの和
|
| コンテスト | |
| ユーザー |
Common Lisp
|
| 提出日時 | 2024-11-11 18:37:52 |
| 言語 | Common Lisp (sbcl 2.5.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 264 bytes |
| コンパイル時間 | 253 ms |
| コンパイル使用メモリ | 26,880 KB |
| 実行使用メモリ | 22,016 KB |
| 最終ジャッジ日時 | 2024-11-11 18:37:54 |
| 合計ジャッジ時間 | 1,431 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 18 WA * 5 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 11 NOV 2024 06:37:52 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.003
ソースコード
(defun main (&rest argv)
(declare (ignorable argv))
(let* ((query (read))
(res 0d0))
(dotimes (_ query)
(let* ((x (read))
(a (read)))
(declare (ignore x))
(incf res (* a pi))))
(format t "~f~%" res)))
(main)
Common Lisp