結果
| 問題 |
No.2823 PEX (Predecessing Excluded Value) Game
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-07-27 00:30:49 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 221 bytes |
| コンパイル時間 | 138 ms |
| コンパイル使用メモリ | 82,256 KB |
| 実行使用メモリ | 76,416 KB |
| 最終ジャッジ日時 | 2024-07-27 21:22:26 |
| 合計ジャッジ時間 | 4,241 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 49 WA * 1 |
ソースコード
n = int(input())
x = 0
t = 0
b = 1
for _ in range(n):
l, r = map(int, input().split())
t ^= (l - b) & 1
b = r + 1
if t == 1:
x ^= r - l + 1
if x == 0:
print("Second")
else:
print("First")