結果
問題 |
No.1941 CHECKER×CHECKER(1)
|
ユーザー |
|
提出日時 | 2022-05-20 22:37:43 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 37 ms / 2,000 ms |
コード長 | 289 bytes |
コンパイル時間 | 176 ms |
コンパイル使用メモリ | 82,080 KB |
実行使用メモリ | 53,664 KB |
最終ジャッジ日時 | 2024-09-20 08:54:59 |
合計ジャッジ時間 | 1,334 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
#int(input()) #map(int, input().split()) #list(map(int, input().split())) s1 = input() s2 = input() s3 = input() a = "#.#" b = ".#." ans = 0 if s1 == a and s3 == a and s2 == b: ans = 1 elif s2 == a and s3 == b and s1 == b: ans = 1 if ans: print("Yes") else: print("No")