結果
問題 |
No.1941 CHECKER×CHECKER(1)
|
ユーザー |
![]() |
提出日時 | 2022-05-21 18:33:33 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 63 ms / 2,000 ms |
コード長 | 468 bytes |
コンパイル時間 | 369 ms |
コンパイル使用メモリ | 82,460 KB |
実行使用メモリ | 66,048 KB |
最終ジャッジ日時 | 2024-09-20 12:03:06 |
合計ジャッジ時間 | 1,767 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
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')