結果
| 問題 |
No.88 次はどっちだ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-04-11 21:29:36 |
| 言語 | Common Lisp (sbcl 2.5.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 340 bytes |
| コンパイル時間 | 1,433 ms |
| コンパイル使用メモリ | 28,760 KB |
| 実行使用メモリ | 27,800 KB |
| 最終ジャッジ日時 | 2025-04-11 21:29:38 |
| 合計ジャッジ時間 | 2,062 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 WA * 2 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 11 APR 2025 09:29:36 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.029
ソースコード
(defvar name) (setq name (read-line)) (defvar sente) (defvar gote) (setq sente name) (setq gote (if (eq sente "oda" ) "yukiko" "oda")) (defvar cnt) (setq cnt 0) (loop for char = (read-char nil nil) do (if (eq char nil) (return)) (if (or (eq char #\b) (eq char #\w)) (incf cnt)) ) (format t "~a" (if (oddp cnt) gote sente)) ;(print cnt)