結果
| 問題 | No.1941 CHECKER×CHECKER(1) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-06-24 12:08:48 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 52 ms / 2,000 ms |
| コード長 | 307 bytes |
| 記録 | |
| コンパイル時間 | 331 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 53,504 KB |
| 最終ジャッジ日時 | 2024-11-08 05:26:36 |
| 合計ジャッジ時間 | 1,896 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
import sys
input = lambda: sys.stdin.readline().rstrip()
from collections import deque
# ----------------------- #
s1 = input()
s2 = input()
s3 = input()
if s1 == '#.#' and s2 == '.#.' and s3 == '#.#':
print('Yes')
elif s1 == '.#.' and s2 == '#.#' and s3 == '.#.':
print('Yes')
else:
print('No')