結果
問題 |
No.676 C0nvertPr0b1em
|
ユーザー |
![]() |
提出日時 | 2024-10-17 01:34:58 |
言語 | Common Lisp (sbcl 2.5.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 322 bytes |
コンパイル時間 | 536 ms |
コンパイル使用メモリ | 37,136 KB |
実行使用メモリ | 29,888 KB |
最終ジャッジ日時 | 2024-10-17 01:35:00 |
合計ジャッジ時間 | 2,487 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 WA * 26 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 17 OCT 2024 01:34:58 AM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.023
ソースコード
(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)