結果
問題 | No.163 cAPSlOCK |
ユーザー |
|
提出日時 | 2025-03-21 21:01:54 |
言語 | Common Lisp (sbcl 2.5.0) |
結果 |
AC
|
実行時間 | 9 ms / 5,000 ms |
コード長 | 305 bytes |
コンパイル時間 | 604 ms |
コンパイル使用メモリ | 34,980 KB |
実行使用メモリ | 19,328 KB |
最終ジャッジ日時 | 2025-03-21 21:01:56 |
合計ジャッジ時間 | 1,852 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 21 MAR 2025 09:01:54 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.054
ソースコード
(loop for char = (read-char nil nil)while char do(if (char= char #\Newline) (return))(if (upper-case-p char) (format 't "~A" (string-downcase char)))(if (lower-case-p char) (format 't "~A" (string-upcase char)));(format t "input: ~A~%" char) ))(format 't "~%")