結果
問題 | No.285 消費税2 |
ユーザー |
![]() |
提出日時 | 2024-11-01 11:58:58 |
言語 | Common Lisp (sbcl 2.5.0) |
結果 |
AC
|
実行時間 | 19 ms / 2,000 ms |
コード長 | 194 bytes |
コンパイル時間 | 215 ms |
コンパイル使用メモリ | 33,228 KB |
実行使用メモリ | 32,148 KB |
最終ジャッジ日時 | 2024-11-01 11:59:00 |
合計ジャッジ時間 | 1,922 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 26 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 01 NOV 2024 11:58:58 AM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.005
ソースコード
(defun main (&rest argv)(declare (ignorable argv))(let* ((d (write-to-string (* 108 (read))))(c (- (length d) 2)))(format t "~a.~a~%" (subseq d 0 c) (subseq d c))))(main)