結果
| 問題 | No.486 3 Straight Win(3連勝) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-07-01 21:35:01 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 150 ms / 2,000 ms |
| コード長 | 168 bytes |
| 記録 | |
| コンパイル時間 | 613 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 36,188 KB |
| 最終ジャッジ日時 | 2026-04-01 23:02:46 |
| 合計ジャッジ時間 | 5,708 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 28 |
ソースコード
s = input()
import re
m = re.search(r'(.)\1\1',s)
if m == None:
print("NA")
elif m.group(0) == 'XXX':
print("West")
elif m.group(0) =='OOO':
print("East")