結果

問題 No.1941 CHECKER×CHECKER(1)
ユーザー ShirotsumeShirotsume
提出日時 2022-05-21 00:23:26
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 36 ms / 2,000 ms
コード長 529 bytes
コンパイル時間 357 ms
コンパイル使用メモリ 81,840 KB
実行使用メモリ 53,576 KB
最終ジャッジ日時 2023-10-20 15:12:53
合計ジャッジ時間 2,017 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

import sys
input = lambda: sys.stdin.readline().rstrip()
ii = lambda: int(input())
mi = lambda: map(int, input().split())
li = lambda: list(mi())
INF = 2 ** 63 - 1
mod = 998244353


s = input()
if s == '#.#':
    s = input()
    if s != '.#.':
        print('No')
        exit()
    s = input()
    if s != '#.#':
        print('No')
        exit()
    print('Yes')
else:
    s = input()
    if s != '#.#':
        print('No')
        exit()
    s = input()
    if s != '.#.':
        print('No')
        exit()
    print('Yes')
0