結果

問題 No.601 Midpoint Erase
ユーザー BQZet
提出日時 2017-12-18 03:11:26
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 364 bytes
コンパイル時間 209 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 11,520 KB
最終ジャッジ日時 2024-12-15 23:41:12
合計ジャッジ時間 3,923 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 12 WA * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
l=[]
for i in range(N):
	x,y=map(int,input().split())
	if(x%2==0 and y%2==0):
		l.append(1)
	elif(x%2==1 and y%2==0):
		l.append(2)
	elif(x%2==0 and y%2==1):
		l.append(3)
	elif(x%2==1 and y%2==1):
		l.append(4)
	else:
		l.append(5)
if (l.count(1)//2+l.count(2)//2+l.count(3)//2+l.count(4))%2==0:
	print("Bob")
else:
	print("Alice")
0