結果
| 問題 | No.601 Midpoint Erase | 
| コンテスト | |
| ユーザー |  vwxyz | 
| 提出日時 | 2023-07-14 08:34:35 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 168 ms / 2,000 ms | 
| コード長 | 223 bytes | 
| コンパイル時間 | 104 ms | 
| コンパイル使用メモリ | 12,416 KB | 
| 実行使用メモリ | 10,624 KB | 
| 最終ジャッジ日時 | 2024-09-15 16:35:54 | 
| 合計ジャッジ時間 | 2,750 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 23 | 
ソースコード
import sys
readline=sys.stdin.readline
N=int(readline())
cnt=[0]*4
for n in range(N):
    x,y=map(int,readline().split())
    cnt[(x%2)<<1|y%2]+=1
if sum(c//2 for c in cnt)%2:
    ans="Alice"
else:
    ans="Bob"
print(ans)
            
            
            
        