結果

問題 No.1941 CHECKER×CHECKER(1)
ユーザー n_get
提出日時 2022-07-12 12:26:42
言語 Scheme
(Gauche-0.9.15)
結果
AC  
実行時間 24 ms / 2,000 ms
コード長 369 bytes
コンパイル時間 290 ms
コンパイル使用メモリ 5,504 KB
実行使用メモリ 16,000 KB
最終ジャッジ日時 2024-06-23 08:09:11
合計ジャッジ時間 1,220 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

(let* [[s1 (read-line)][s2 (read-line)][s3 (read-line)]]
      (print (if (or (and (string=? s1 "#.#")
                          (string=? s2 ".#.")
                          (string=? s3 "#.#"))
                     (and (string=? s1 ".#.")
                          (string=? s2 "#.#")
                          (string=? s3 ".#.")))
                      'Yes 'No)))
0