結果
| 問題 | No.2373 wa, wo, n |
| コンテスト | |
| ユーザー |
hitonanode
|
| 提出日時 | 2023-07-13 23:28:30 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 137 ms / 2,000 ms |
| + 314µs | |
| コード長 | 96 bytes |
| 記録 | |
| コンパイル時間 | 310 ms |
| コンパイル使用メモリ | 21,412 KB |
| 実行使用メモリ | 45,436 KB |
| 最終ジャッジ日時 | 2026-08-27 21:52:54 |
| 合計ジャッジ時間 | 7,686 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 39 |
コンパイルメッセージ
Main.py:3: SyntaxWarning: "\?" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\?"? A raw string is also an option.
print(("Yes" if re.fullmatch("^(w[ao?]|n|\\?[ao]|\?)*$", input()) else "No"))
ソースコード
import re
input()
print(("Yes" if re.fullmatch("^(w[ao?]|n|\\?[ao]|\?)*$", input()) else "No"))
hitonanode