結果

問題 No.1941 CHECKER×CHECKER(1)
ユーザー kukutoni
提出日時 2023-07-28 18:13:42
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 206 bytes
コンパイル時間 166 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-10-06 12:07:45
合計ジャッジ時間 1,543 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1 RE * 1
other AC * 1 WA * 3 RE * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

s1 = input()
s2 = input()
s3 = input()
if s1[0] and s3[0] == s1[2] and s3[2]:
	S = True
if s2 != s1 and s2[0] == s2[2] and s2[0] != s2[1]:
    SS = True
if S and SS == True:
	print('Yes')
else:
	print('No')
0