結果
| 問題 |
No.1016 三目並べ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-03-21 21:02:49 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 231 bytes |
| コンパイル時間 | 522 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 52,992 KB |
| 最終ジャッジ日時 | 2024-10-09 11:40:55 |
| 合計ジャッジ時間 | 1,517 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 5 WA * 5 |
ソースコード
win = ["ooo", "-oo", "o-o", "oo-", "-o--", "--o-"]
def solve():
n, S = input().split()
for w in win:
if w in S:
print("O")
return
print("X")
for _ in range(int(input())):
solve()