結果

問題 No.2707 Bag of Words Encryption
ユーザー Lisp_Coder
提出日時 2024-04-09 14:58:22
言語 Common Lisp
(sbcl 2.5.0)
結果
AC  
実行時間 33 ms / 2,000 ms
コード長 176 bytes
コンパイル時間 853 ms
コンパイル使用メモリ 25,856 KB
実行使用メモリ 22,528 KB
最終ジャッジ日時 2024-10-01 17:50:36
合計ジャッジ時間 1,792 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 15
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 01 OCT 2024 05:50:34 PM):

; file: /home/judge/data/code/Main.lisp
; in: LET ((N (READ-LINE)) (S (READ-LINE)))
;     (N (READ-LINE))
; 
; caught STYLE-WARNING:
;   The variable N is defined but never used.
; 
; compilation unit finished
;   caught 1 STYLE-WARNING condition


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

ソースコード

diff #

(let ((n (read-line)) (s (read-line))) (loop for c from (char-code #\A) to (char-code #\Z) do (format t "~A" (count (char-upcase (code-char c)) s :test #'char-equal))))(terpri)
0