結果
| 問題 | No.224 文字列変更(easy) |
| コンテスト | |
| ユーザー |
Common Lisp
|
| 提出日時 | 2024-10-08 17:25:44 |
| 言語 | Common Lisp (sbcl 2.6.7) |
| 結果 |
AC
不安定
|
| 実行時間 | 5 ms / 5,000 ms |
| + 834µs | |
| コード長 | 304 bytes |
| 記録 | |
| コンパイル時間 | 38 ms |
| コンパイル使用メモリ | 28,288 KB |
| 実行使用メモリ | 19,712 KB |
| 最終ジャッジ日時 | 2026-09-12 04:41:38 |
| 合計ジャッジ時間 | 2,043 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 12 SEP 2026 04:41:36 AM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.028
ソースコード
; for で一文字ずつ比較する
(defun main ()
(let* ((_ (read))
(s1 (read-line))
(s2 (read-line))
(ans (loop for c1 across s1
for c2 across s2
count (char/= c1 c2))))
(declare (ignore _))
(princ ans)
(terpri)))
(main)
Common Lisp