結果
問題 | No.486 3 Straight Win(3連勝) |
ユーザー |
|
提出日時 | 2023-05-03 14:53:14 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 38 ms / 2,000 ms |
コード長 | 195 bytes |
コンパイル時間 | 147 ms |
コンパイル使用メモリ | 82,112 KB |
実行使用メモリ | 52,224 KB |
最終ジャッジ日時 | 2024-11-21 18:39:39 |
合計ジャッジ時間 | 1,967 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 28 |
ソースコード
S = input()e = S.find("OOO")w = S.find("XXX")if e==-1 and w==-1:print("NA")elif e==-1:print("West")elif w==-1:print("East")elif e<w:print("East")else:print("West")