結果

問題 No.2240 WAC
ユーザー AhmadovAhmadov
提出日時 2023-03-13 16:53:41
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 202 bytes
コンパイル時間 106 ms
コンパイル使用メモリ 11,772 KB
実行使用メモリ 11,004 KB
最終ジャッジ日時 2023-10-18 11:10:20
合計ジャッジ時間 2,942 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 28 ms
10,028 KB
testcase_02 AC 28 ms
10,028 KB
testcase_03 AC 29 ms
10,028 KB
testcase_04 AC 29 ms
10,028 KB
testcase_05 AC 29 ms
10,028 KB
testcase_06 AC 28 ms
10,028 KB
testcase_07 AC 29 ms
10,028 KB
testcase_08 AC 29 ms
10,028 KB
testcase_09 AC 29 ms
10,028 KB
testcase_10 WA -
testcase_11 AC 35 ms
10,684 KB
testcase_12 AC 35 ms
10,920 KB
testcase_13 AC 36 ms
10,268 KB
testcase_14 AC 32 ms
10,136 KB
testcase_15 AC 44 ms
10,644 KB
testcase_16 WA -
testcase_17 AC 41 ms
10,424 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 45 ms
10,668 KB
testcase_21 WA -
testcase_22 AC 39 ms
10,616 KB
testcase_23 AC 37 ms
10,396 KB
testcase_24 AC 43 ms
10,684 KB
testcase_25 WA -
testcase_26 AC 34 ms
10,240 KB
testcase_27 AC 33 ms
10,168 KB
testcase_28 AC 37 ms
10,316 KB
testcase_29 AC 32 ms
10,128 KB
testcase_30 AC 39 ms
10,360 KB
testcase_31 AC 49 ms
10,992 KB
testcase_32 WA -
testcase_33 AC 39 ms
10,392 KB
testcase_34 AC 41 ms
10,472 KB
testcase_35 AC 30 ms
10,100 KB
testcase_36 WA -
testcase_37 AC 45 ms
10,576 KB
testcase_38 AC 34 ms
10,244 KB
testcase_39 AC 49 ms
11,004 KB
testcase_40 AC 38 ms
10,360 KB
testcase_41 AC 42 ms
10,684 KB
testcase_42 AC 41 ms
10,620 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,m = map(int,input().split())
s = input()
t=s
s=s.replace("AC","");s=s.replace("WA","");
t=t.replace("WA","");t=t.replace("AC","");
if(s==s[::-1] or t==t[::-1]):
    print("Yes")
else:
    print("No")
0