結果

問題 No.2707 Bag of Words Encryption
ユーザー Lisp_CoderLisp_Coder
提出日時 2024-04-09 14:58:22
言語 Common Lisp
(sbcl 2.3.8)
結果
AC  
実行時間 41 ms / 2,000 ms
コード長 176 bytes
コンパイル時間 1,309 ms
コンパイル使用メモリ 34,732 KB
実行使用メモリ 32,460 KB
最終ジャッジ日時 2024-04-09 14:58:25
合計ジャッジ時間 3,060 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 9 ms
25,512 KB
testcase_01 AC 9 ms
27,596 KB
testcase_02 AC 32 ms
28,272 KB
testcase_03 AC 14 ms
25,896 KB
testcase_04 AC 33 ms
28,276 KB
testcase_05 AC 21 ms
28,204 KB
testcase_06 AC 30 ms
28,276 KB
testcase_07 AC 38 ms
28,404 KB
testcase_08 AC 37 ms
28,276 KB
testcase_09 AC 40 ms
32,460 KB
testcase_10 AC 40 ms
30,316 KB
testcase_11 AC 37 ms
28,404 KB
testcase_12 AC 40 ms
30,184 KB
testcase_13 AC 40 ms
28,404 KB
testcase_14 AC 41 ms
30,440 KB
testcase_15 AC 41 ms
30,184 KB
testcase_16 AC 40 ms
30,312 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 09 APR 2024 02:58:21 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.021

ソースコード

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