結果
問題 | No.1016 三目並べ |
ユーザー |
![]() |
提出日時 | 2025-05-03 10:05:51 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 324 bytes |
コンパイル時間 | 527 ms |
コンパイル使用メモリ | 82,384 KB |
実行使用メモリ | 54,440 KB |
最終ジャッジ日時 | 2025-05-03 10:05:54 |
合計ジャッジ時間 | 2,070 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | WA * 10 |
ソースコード
for _ in range(int(input())): N,S = input().split() N = int(N) ret = "x" if "ooo" in S: ret = "o" if "oo-" in S: ret = "o" if "o-o" in S: ret = "o" if "-oo" in S: ret = "o" if "--o-" in S: ret = "o" if "_o__" in S: ret = "o" print(ret)