結果
| 問題 |
No.601 Midpoint Erase
|
| コンテスト | |
| ユーザー |
BQZet
|
| 提出日時 | 2017-12-18 02:51:41 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 343 bytes |
| コンパイル時間 | 201 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 11,136 KB |
| 最終ジャッジ日時 | 2024-12-15 23:38:26 |
| 合計ジャッジ時間 | 4,739 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 WA * 10 |
ソースコード
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==0 and y%2==0):
l.append(2)
elif(x%2==0 and y%2==0):
l.append(3)
elif(x%2==0 and y%2==0):
l.append(4)
if (l.count(1)//2+l.count(2)//2+l.count(3)//2+l.count(4))%2==0:
print("Bob")
else:
print("Alice")
BQZet