結果

問題 No.3140 Weird Parentheses Game
ユーザー 回転
提出日時 2025-05-16 21:28:57
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 214 bytes
コンパイル時間 520 ms
コンパイル使用メモリ 82,428 KB
実行使用メモリ 53,804 KB
最終ジャッジ日時 2025-05-16 21:28:59
合計ジャッジ時間 1,946 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 17 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
S = input()

a = []
now = 0
for i in S:
    if(i == "("):
        now += 1
    else:
        a.append(now)
        now = 0

xor = 0
for i in a:
    xor ^= i
print("First" if xor != 0 else "Second")
0