結果
| 問題 |
No.1941 CHECKER×CHECKER(1)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-05-20 21:36:04 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 190 bytes |
| コンパイル時間 | 165 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 52,224 KB |
| 最終ジャッジ日時 | 2024-09-20 07:29:01 |
| 合計ジャッジ時間 | 1,298 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 12 |
ソースコード
S1=input()
S2=input()
S3=input()
if S2[-1]=="#":
temp="."+S2[0:len(S2)-1]
else:
temp="#"+S2[0:len(S2)-1]
print(temp)
if S1==temp and S3==temp:
print("Yes")
else:
print("No")