結果
問題 |
No.744 循環小数N桁目 Easy
|
ユーザー |
![]() |
提出日時 | 2020-06-22 00:19:22 |
言語 | Common Lisp (sbcl 2.5.0) |
結果 |
AC
|
実行時間 | 9 ms / 2,000 ms |
コード長 | 134 bytes |
コンパイル時間 | 171 ms |
コンパイル使用メモリ | 32,456 KB |
実行使用メモリ | 29,864 KB |
最終ジャッジ日時 | 2024-07-03 18:28:21 |
合計ジャッジ時間 | 731 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 03 JUL 2024 06:28:19 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.004
ソースコード
(defun solve (n) (case (rem n 6) (0 4) (1 2) (2 8) (3 5) (4 7) (5 1) ) ) (format t "~A~%" (solve (read)))