結果

問題 No.744 循環小数N桁目 Easy
ユーザー betit0919betit0919
提出日時 2020-06-22 00:18:43
言語 Common Lisp
(sbcl 2.3.8)
結果
WA  
実行時間 -
コード長 134 bytes
コンパイル時間 901 ms
コンパイル使用メモリ 29,524 KB
実行使用メモリ 28,680 KB
最終ジャッジ日時 2023-09-16 18:57:52
合計ジャッジ時間 1,740 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 16 SEP 2023 06:57:50 PM):
; processing (DEFUN SOLVE ...)
; processing (FORMAT T ...)

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

ソースコード

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