結果

問題 No.744 循環小数N桁目 Easy
ユーザー betit0919
提出日時 2020-06-22 00:18:43
言語 Common Lisp
(sbcl 2.5.0)
結果
WA  
実行時間 -
コード長 134 bytes
コンパイル時間 1,128 ms
コンパイル使用メモリ 34,480 KB
実行使用メモリ 29,884 KB
最終ジャッジ日時 2024-07-03 18:28:12
合計ジャッジ時間 1,793 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 7
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 03 JUL 2024 06:28:10 PM):

; wrote /home/judge/data/code/Main.fasl
; compilation finished in 0:00:00.025

ソースコード

diff #

(defun solve (n)
  (case (rem n 6)
    (0 2)
    (1 8)
    (2 5)
    (3 7)
    (4 1)
    (5 4)
  )
)

(format t "~A~%" (solve (read)))
0