結果
| 問題 |
No.2373 wa, wo, n
|
| コンテスト | |
| ユーザー |
𖧱𖦸𖥩𖥣𖥩𖥣
|
| 提出日時 | 2024-06-04 13:49:01 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 210 bytes |
| コンパイル時間 | 194 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 11,392 KB |
| 最終ジャッジ日時 | 2024-12-23 10:52:13 |
| 合計ジャッジ時間 | 3,413 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 2 |
| other | AC * 22 WA * 17 |
ソースコード
n = int(input())
s = input()
s = s.replace("wa","")
s = s.replace("wo","")
s = s.replace("?a","")
s = s.replace("?o","")
s = s.replace("w?","")
s = s.replace("?","")
if s == "":
print("Yes")
else:
print("No")
𖧱𖦸𖥩𖥣𖥩𖥣