結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,924 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 14 ms
8,012 KB
testcase_08 AC 14 ms
8,072 KB
testcase_09 WA -
testcase_10 AC 14 ms
7,920 KB
testcase_11 WA -
testcase_12 AC 14 ms
8,016 KB
testcase_13 AC 14 ms
8,040 KB
testcase_14 AC 15 ms
7,952 KB
testcase_15 WA -
testcase_16 AC 14 ms
7,992 KB
testcase_17 AC 14 ms
7,792 KB
testcase_18 AC 14 ms
7,876 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 AC 15 ms
7,776 KB
testcase_26 AC 14 ms
7,820 KB
testcase_27 AC 14 ms
7,768 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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