結果

問題 No.2707 Bag of Words Encryption
コンテスト
ユーザー Lisp_Coder
提出日時 2024-04-09 14:58:22
言語 Common Lisp
(sbcl 2.6.3)
コンパイル:
sbclc _filename_
実行:
sbcl --script Main.fasl
結果
AC  
実行時間 26 ms / 2,000 ms
コード長 176 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 1,008 ms
コンパイル使用メモリ 28,672 KB
実行使用メモリ 23,168 KB
最終ジャッジ日時 2026-04-17 20:49:04
合計ジャッジ時間 2,690 ms
ジャッジサーバーID
(参考情報)
judge2_1 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 15
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 17 APR 2026 08:49:00 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.015

ソースコード

diff #
raw source code

(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