結果

問題 No.1941 CHECKER×CHECKER(1)
ユーザー titan23titan23
提出日時 2022-06-24 12:08:48
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 41 ms / 2,000 ms
コード長 307 bytes
コンパイル時間 193 ms
コンパイル使用メモリ 82,440 KB
実行使用メモリ 55,360 KB
最終ジャッジ日時 2024-04-25 18:02:33
合計ジャッジ時間 1,556 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
54,852 KB
testcase_01 AC 39 ms
54,168 KB
testcase_02 AC 37 ms
53,484 KB
testcase_03 AC 38 ms
54,248 KB
testcase_04 AC 38 ms
53,972 KB
testcase_05 AC 37 ms
53,780 KB
testcase_06 AC 35 ms
53,548 KB
testcase_07 AC 35 ms
53,944 KB
testcase_08 AC 37 ms
53,908 KB
testcase_09 AC 40 ms
54,376 KB
testcase_10 AC 41 ms
54,804 KB
testcase_11 AC 39 ms
55,196 KB
testcase_12 AC 39 ms
53,628 KB
testcase_13 AC 40 ms
55,360 KB
testcase_14 AC 39 ms
54,044 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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')
0