結果

問題 No.188 HAPPY DAY
ユーザー eldericaelderica
提出日時 2023-11-10 23:54:24
言語 Common Lisp
(sbcl 2.3.8)
結果
WA  
実行時間 -
コード長 201 bytes
コンパイル時間 329 ms
コンパイル使用メモリ 35,236 KB
実行使用メモリ 29,216 KB
最終ジャッジ日時 2023-11-10 23:54:25
合計ジャッジ時間 636 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 10 NOV 2023 02:54:24 PM):

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

ソースコード

diff #

(format t "~a~%"
	(loop for d in (list 31 28 31 30 31 30 31 31 30 31 30 31)
	      for m from 1 to 10
	      sum (loop for b from 1 to d
			when (eql m (+ (floor (/ b 10)) (mod b 10)))
			  count b)))
0