結果

問題 No.1941 CHECKER×CHECKER(1)
ユーザー chineristACchineristAC
提出日時 2022-05-20 21:21:29
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 50 ms / 2,000 ms
コード長 382 bytes
コンパイル時間 170 ms
コンパイル使用メモリ 81,548 KB
実行使用メモリ 56,088 KB
最終ジャッジ日時 2023-10-20 11:32:26
合計ジャッジ時間 1,608 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

import sys,random,bisect
from collections import deque,defaultdict
import heapq
from itertools import permutations
from math import gcd

input = lambda :sys.stdin.readline().rstrip()
mi = lambda :map(int,input().split())
li = lambda :list(mi())

S = ["#.#",".#.","#.#"]
T = [".#.","#.#",".#."]

U = [input() for i in range(3)]
if U==S or U==T:
    print("Yes")
else:
    print("No")
0