結果

問題 No.2373 wa, wo, n
ユーザー 👑 hitonanodehitonanode
提出日時 2023-07-13 23:25:22
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 57 ms / 2,000 ms
コード長 115 bytes
コンパイル時間 89 ms
コンパイル使用メモリ 10,592 KB
実行使用メモリ 39,584 KB
最終ジャッジ日時 2023-10-13 12:11:06
合計ジャッジ時間 3,416 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
8,888 KB
testcase_01 AC 26 ms
8,984 KB
testcase_02 AC 26 ms
8,980 KB
testcase_03 AC 26 ms
8,924 KB
testcase_04 AC 25 ms
9,056 KB
testcase_05 AC 25 ms
8,904 KB
testcase_06 AC 25 ms
8,972 KB
testcase_07 AC 25 ms
9,064 KB
testcase_08 AC 25 ms
8,904 KB
testcase_09 AC 25 ms
9,028 KB
testcase_10 AC 25 ms
8,880 KB
testcase_11 AC 25 ms
8,948 KB
testcase_12 AC 28 ms
8,900 KB
testcase_13 AC 25 ms
8,888 KB
testcase_14 AC 44 ms
25,452 KB
testcase_15 AC 29 ms
11,532 KB
testcase_16 AC 47 ms
27,940 KB
testcase_17 AC 32 ms
13,996 KB
testcase_18 AC 26 ms
9,496 KB
testcase_19 AC 25 ms
9,008 KB
testcase_20 AC 25 ms
9,264 KB
testcase_21 AC 25 ms
9,024 KB
testcase_22 AC 25 ms
9,116 KB
testcase_23 AC 26 ms
9,160 KB
testcase_24 AC 25 ms
8,980 KB
testcase_25 AC 25 ms
9,084 KB
testcase_26 AC 25 ms
8,892 KB
testcase_27 AC 25 ms
8,960 KB
testcase_28 AC 25 ms
8,912 KB
testcase_29 AC 24 ms
8,956 KB
testcase_30 AC 25 ms
8,908 KB
testcase_31 AC 25 ms
8,912 KB
testcase_32 AC 49 ms
29,504 KB
testcase_33 AC 25 ms
9,160 KB
testcase_34 AC 57 ms
39,584 KB
testcase_35 AC 26 ms
9,244 KB
testcase_36 AC 45 ms
27,080 KB
testcase_37 AC 41 ms
24,176 KB
testcase_38 AC 42 ms
24,312 KB
testcase_39 AC 51 ms
38,952 KB
testcase_40 AC 45 ms
28,288 KB
testcase_41 AC 46 ms
27,860 KB
testcase_42 AC 44 ms
24,216 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import re

N = input()
S = input()

print(("Yes" if re.fullmatch("^(wa|wo|n|w\\?|\\?a|\\?o|\\?)*$", S) else "No"))
0