結果

問題 No.486 3 Straight Win(3連勝)
ユーザー k0825k0825
提出日時 2019-04-29 01:00:57
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 131 bytes
コンパイル時間 102 ms
コンパイル使用メモリ 10,636 KB
実行使用メモリ 8,068 KB
最終ジャッジ日時 2023-08-23 13:00:07
合計ジャッジ時間 1,743 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 15 ms
7,948 KB
testcase_02 AC 16 ms
7,900 KB
testcase_03 AC 16 ms
7,944 KB
testcase_04 AC 15 ms
8,008 KB
testcase_05 AC 16 ms
8,020 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 16 ms
7,896 KB
testcase_10 WA -
testcase_11 AC 16 ms
7,904 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 16 ms
7,880 KB
testcase_15 AC 16 ms
8,012 KB
testcase_16 WA -
testcase_17 AC 15 ms
7,772 KB
testcase_18 AC 16 ms
7,844 KB
testcase_19 AC 16 ms
7,960 KB
testcase_20 AC 16 ms
7,988 KB
testcase_21 WA -
testcase_22 AC 16 ms
7,900 KB
testcase_23 AC 16 ms
7,900 KB
testcase_24 WA -
testcase_25 AC 16 ms
7,832 KB
testcase_26 AC 15 ms
7,760 KB
testcase_27 AC 15 ms
7,968 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s=input();a,b='',0
for i in s:
    if a!=i: a=i
    else: b+=1
    if b==3: print('East' if i=='O' else 'West');exit()
print('NA')
0