結果

問題 No.1016 三目並べ
ユーザー balaem
提出日時 2020-04-03 23:02:40
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 216 bytes
コンパイル時間 254 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-07-03 05:36:43
合計ジャッジ時間 1,197 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1
other WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

T = int(input())
*stage, = [list(map(str, input().split())) for _ in range(T)]

for s in stage:
    if '-oo' in s[1] or 'oo-' in s[1] or 'o-o' in s[1] or 'ooo' in s[1]:
        print('o')
    else:
        print('x')
0