結果
| 問題 | No.601 Midpoint Erase |
| コンテスト | |
| ユーザー |
vwxyz
|
| 提出日時 | 2023-07-14 08:34:35 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 170 ms / 2,000 ms |
| コード長 | 223 bytes |
| 記録 | |
| コンパイル時間 | 356 ms |
| コンパイル使用メモリ | 20,572 KB |
| 実行使用メモリ | 15,232 KB |
| 最終ジャッジ日時 | 2026-04-04 20:43:41 |
| 合計ジャッジ時間 | 4,478 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)
vwxyz