結果

問題 No.2373 wa, wo, n
ユーザー i_takui_taku
提出日時 2023-07-07 22:03:55
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 178 ms / 2,000 ms
コード長 124 bytes
コンパイル時間 478 ms
コンパイル使用メモリ 87,232 KB
実行使用メモリ 98,780 KB
最終ジャッジ日時 2023-09-28 23:21:04
合計ジャッジ時間 8,478 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 136 ms
79,832 KB
testcase_01 AC 139 ms
79,784 KB
testcase_02 AC 141 ms
79,868 KB
testcase_03 AC 140 ms
79,780 KB
testcase_04 AC 142 ms
79,596 KB
testcase_05 AC 142 ms
79,752 KB
testcase_06 AC 142 ms
79,808 KB
testcase_07 AC 142 ms
79,732 KB
testcase_08 AC 139 ms
79,868 KB
testcase_09 AC 137 ms
79,728 KB
testcase_10 AC 144 ms
79,560 KB
testcase_11 AC 142 ms
79,752 KB
testcase_12 AC 142 ms
79,800 KB
testcase_13 AC 140 ms
79,768 KB
testcase_14 AC 170 ms
94,044 KB
testcase_15 AC 158 ms
80,088 KB
testcase_16 AC 173 ms
94,320 KB
testcase_17 AC 152 ms
80,052 KB
testcase_18 AC 142 ms
80,152 KB
testcase_19 AC 141 ms
79,768 KB
testcase_20 AC 138 ms
80,092 KB
testcase_21 AC 138 ms
79,776 KB
testcase_22 AC 144 ms
79,764 KB
testcase_23 AC 142 ms
79,884 KB
testcase_24 AC 139 ms
79,812 KB
testcase_25 AC 142 ms
79,800 KB
testcase_26 AC 140 ms
79,912 KB
testcase_27 AC 138 ms
79,784 KB
testcase_28 AC 139 ms
79,732 KB
testcase_29 AC 144 ms
79,908 KB
testcase_30 AC 138 ms
79,912 KB
testcase_31 AC 138 ms
79,976 KB
testcase_32 AC 173 ms
94,116 KB
testcase_33 AC 141 ms
80,208 KB
testcase_34 AC 178 ms
98,652 KB
testcase_35 AC 138 ms
80,104 KB
testcase_36 AC 173 ms
97,068 KB
testcase_37 AC 146 ms
80,360 KB
testcase_38 AC 145 ms
80,432 KB
testcase_39 AC 174 ms
98,780 KB
testcase_40 AC 178 ms
94,324 KB
testcase_41 AC 172 ms
94,640 KB
testcase_42 AC 145 ms
80,248 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import re
N = int(input())
S = input()
if re.match('^(wa|wo|n|\?|w\?|\?a|\?o)*$', S):
    print('Yes')
else:
    print('No')
0