結果

問題 No.1941 CHECKER×CHECKER(1)
ユーザー tnodinotnodino
提出日時 2022-05-21 06:29:38
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 28 ms / 2,000 ms
コード長 176 bytes
コンパイル時間 1,154 ms
コンパイル使用メモリ 11,684 KB
実行使用メモリ 9,964 KB
最終ジャッジ日時 2023-10-20 15:35:24
合計ジャッジ時間 2,334 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
9,964 KB
testcase_01 AC 25 ms
9,964 KB
testcase_02 AC 26 ms
9,964 KB
testcase_03 AC 27 ms
9,964 KB
testcase_04 AC 25 ms
9,964 KB
testcase_05 AC 25 ms
9,964 KB
testcase_06 AC 24 ms
9,964 KB
testcase_07 AC 25 ms
9,964 KB
testcase_08 AC 25 ms
9,964 KB
testcase_09 AC 25 ms
9,964 KB
testcase_10 AC 26 ms
9,964 KB
testcase_11 AC 28 ms
9,964 KB
testcase_12 AC 25 ms
9,964 KB
testcase_13 AC 24 ms
9,964 KB
testcase_14 AC 25 ms
9,964 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S1 = input()
S2 = input()
S3 = input()
B = "#.#"
W = ".#."
if S1 == B == S3 and S2 == W:
    print('Yes')
elif S1 == W == S3 and S2 == B:
    print('Yes')
else:
    print('No')
0