結果

問題 No.1941 CHECKER×CHECKER(1)
ユーザー terasa
提出日時 2022-05-21 18:32:51
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 468 bytes
コンパイル時間 199 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 68,352 KB
最終ジャッジ日時 2024-09-20 12:03:04
合計ジャッジ時間 2,070 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 9 RE * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
import pypyjit
import itertools
import heapq
import math
from collections import deque, defaultdict, Counter
import string
import random

input = sys.stdin.readline
sys.setrecursionlimit(10 ** 6)
pypyjit.set_param('max_unroll_recursion=-1')


S1 = input()[:-1]
S2 = input()[:-1]
S3 = input()[:-1]

T1 = '#.#'
T2 = '.#.'

if S1 == T1 and S2 == T2 and S3 == T1:
    print('Yes')
elif S1 == T2 and S2 == T1 and S3 == t2:
    print('Yes')
else:
    print('No')
0