結果

問題 No.1941 CHECKER×CHECKER(1)
コンテスト
ユーザー terasa
提出日時 2022-05-21 18:32:51
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
RE  
実行時間 -
コード長 468 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 268 ms
コンパイル使用メモリ 85,248 KB
実行使用メモリ 69,376 KB
最終ジャッジ日時 2026-04-08 23:15:47
合計ジャッジ時間 1,947 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 9 RE * 3
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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