結果

問題 No.1941 CHECKER×CHECKER(1)
ユーザー terasaterasa
提出日時 2022-05-21 18:33:33
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 63 ms / 2,000 ms
コード長 468 bytes
コンパイル時間 165 ms
コンパイル使用メモリ 81,904 KB
実行使用メモリ 66,304 KB
最終ジャッジ日時 2023-10-20 16:30:37
合計ジャッジ時間 1,915 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

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