結果

問題 No.601 Midpoint Erase
ユーザー ああいいああいい
提出日時 2022-05-19 13:33:13
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 101 ms / 2,000 ms
コード長 289 bytes
コンパイル時間 155 ms
コンパイル使用メモリ 82,916 KB
実行使用メモリ 76,372 KB
最終ジャッジ日時 2024-09-17 19:40:32
合計ジャッジ時間 3,215 ms
ジャッジサーバーID
(参考情報)
judge1 / judge6
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

dat = [[0] * 2 for _ in range(2)]
for _ in range(N):
    x,y = map(int,input().split())
    dat[x % 2][y % 2] += 1
count = 0
for i in range(2):
    for j in range(2):
        count += dat[i][j] // 2
a = "Alice"
b = "Bob"
if count % 2 == 0:
    print(b)
else:
    print(a)
0