結果
| 問題 | No.676 C0nvertPr0b1em |
| コンテスト | |
| ユーザー |
Common Lisp
|
| 提出日時 | 2024-10-17 01:34:58 |
| 言語 | Common Lisp (sbcl 2.6.3) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 322 bytes |
| 記録 | |
| コンパイル時間 | 110 ms |
| コンパイル使用メモリ | 37,848 KB |
| 実行使用メモリ | 32,144 KB |
| 最終ジャッジ日時 | 2026-05-05 13:53:46 |
| 合計ジャッジ時間 | 1,601 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 WA * 26 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 05 MAY 2026 01:53:43 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.043
ソースコード
(defun main (&rest argv)
(declare (ignorable argv))
(let* ((s (read-line)))
(loop for c across s
do (write-char (cond
((or (char= c #\I) (char= c #\i)) #\1)
((or (char= c #\O) (char= c #\o)) #\0)
(t c))))
(terpri)))
(main)
Common Lisp