結果

問題 No.1941 CHECKER×CHECKER(1)
ユーザー hashi_pyhashi_py
提出日時 2022-05-20 21:42:11
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 51 ms / 2,000 ms
コード長 209 bytes
コンパイル時間 327 ms
コンパイル使用メモリ 81,600 KB
実行使用メモリ 53,408 KB
最終ジャッジ日時 2023-10-20 12:08:48
合計ジャッジ時間 1,735 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
53,408 KB
testcase_01 AC 43 ms
53,408 KB
testcase_02 AC 43 ms
53,408 KB
testcase_03 AC 46 ms
53,408 KB
testcase_04 AC 43 ms
53,408 KB
testcase_05 AC 42 ms
53,408 KB
testcase_06 AC 42 ms
53,408 KB
testcase_07 AC 49 ms
53,408 KB
testcase_08 AC 47 ms
53,408 KB
testcase_09 AC 44 ms
53,408 KB
testcase_10 AC 51 ms
53,408 KB
testcase_11 AC 46 ms
53,408 KB
testcase_12 AC 44 ms
53,408 KB
testcase_13 AC 43 ms
53,408 KB
testcase_14 AC 43 ms
53,408 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

G = [list(input()) for _ in range(3)]


A = [['#', '.', '#'], ['.', '#', '.'], ['#', '.', '#']]
B = [['.', '#', '.'], ['#', '.', '#'], ['.', '#', '.']]

if(G==A or G==B):
    print("Yes")
else:
    print("No")
0