結果

問題 No.1941 CHECKER×CHECKER(1)
ユーザー roaris
提出日時 2022-05-20 23:55:38
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 46 ms / 2,000 ms
コード長 197 bytes
コンパイル時間 273 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 53,504 KB
最終ジャッジ日時 2024-09-20 10:21:27
合計ジャッジ時間 1,625 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline
from collections import *

S = [input()[:-1] for _ in range(3)]

if S in [['#.#', '.#.', '#.#'], ['.#.', '#.#', '.#.']]:
    print('Yes')
else:
    print('No')
0