結果

問題 No.3140 Weird Parentheses Game
ユーザー Kude
提出日時 2025-05-16 21:21:25
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 175 bytes
コンパイル時間 206 ms
コンパイル使用メモリ 82,740 KB
実行使用メモリ 54,136 KB
最終ジャッジ日時 2025-05-16 21:21:29
合計ジャッジ時間 1,935 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 9 WA * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

input()
d = 0
cnt = 0
for c in input():
    if c == '(':
        d += 1
    else:
        if d:
            cnt += 1
            d -= 1
print('First' if cnt % 2 else 'Second')
0