結果

問題 No.486 3 Straight Win(3連勝)
ユーザー ABKZABKZ
提出日時 2021-07-01 22:05:30
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 154 bytes
コンパイル時間 956 ms
コンパイル使用メモリ 87,024 KB
実行使用メモリ 71,520 KB
最終ジャッジ日時 2023-09-10 20:09:00
合計ジャッジ時間 4,075 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,304 KB
testcase_01 WA -
testcase_02 AC 71 ms
71,212 KB
testcase_03 AC 72 ms
71,204 KB
testcase_04 AC 71 ms
71,180 KB
testcase_05 AC 70 ms
71,372 KB
testcase_06 AC 71 ms
71,280 KB
testcase_07 AC 73 ms
71,148 KB
testcase_08 WA -
testcase_09 AC 72 ms
71,196 KB
testcase_10 AC 71 ms
71,168 KB
testcase_11 AC 73 ms
71,020 KB
testcase_12 AC 72 ms
71,272 KB
testcase_13 AC 71 ms
71,108 KB
testcase_14 AC 71 ms
71,412 KB
testcase_15 AC 70 ms
71,520 KB
testcase_16 AC 69 ms
71,236 KB
testcase_17 AC 72 ms
71,336 KB
testcase_18 AC 70 ms
71,208 KB
testcase_19 WA -
testcase_20 AC 71 ms
71,152 KB
testcase_21 AC 70 ms
71,332 KB
testcase_22 AC 71 ms
71,160 KB
testcase_23 AC 73 ms
71,264 KB
testcase_24 AC 71 ms
71,484 KB
testcase_25 AC 71 ms
71,008 KB
testcase_26 AC 72 ms
71,012 KB
testcase_27 AC 73 ms
71,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()

e = S.find("OOO")
w = S.find("XXX")

if e == -1 and w == -1:
    print("NA")
elif e < w and e > -1:
    print("East")
else:
    print("West")
0