結果
問題 |
No.3140 Weird Parentheses Game
|
ユーザー |
|
提出日時 | 2025-05-27 02:22:09 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 128 bytes |
コンパイル時間 | 584 ms |
コンパイル使用メモリ | 82,172 KB |
実行使用メモリ | 53,652 KB |
最終ジャッジ日時 | 2025-05-27 02:22:12 |
合計ジャッジ時間 | 2,571 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 WA * 12 |
ソースコード
input() s = input() i = 0 while len(s) > 0: s = s.replace("()", "", 1) i += 1 print("First" if i % 2 == 1 else "Second")