結果
| 問題 | No.601 Midpoint Erase | 
| コンテスト | |
| ユーザー |  Konton7 | 
| 提出日時 | 2019-05-08 00:47:39 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 342 ms / 2,000 ms | 
| コード長 | 404 bytes | 
| コンパイル時間 | 91 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 10,752 KB | 
| 最終ジャッジ日時 | 2024-07-01 23:40:02 | 
| 合計ジャッジ時間 | 4,315 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 23 | 
ソースコード
n = int(input())
odd_even_list = [0]*4
for i in range(n):
	x, y = [int(v) for v in input().split() ]
	if x % 2 == 0:
		if y % 2 == 0:
			odd_even_list[0] += 1
		else:
			odd_even_list[1] += 1
	else:
		if y % 2 == 0:
			odd_even_list[2] += 1
		else:
			odd_even_list[3] += 1
odd_even_list = list(map(lambda x: x // 2, odd_even_list))
if sum(odd_even_list) % 2 == 1:
	print("Alice")
else:
	print("Bob")
            
            
            
        