結果

問題 No.601 Midpoint Erase
ユーザー Akijin_007Akijin_007
提出日時 2023-05-11 19:25:52
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 184 ms / 2,000 ms
コード長 348 bytes
コンパイル時間 419 ms
コンパイル使用メモリ 86,964 KB
実行使用メモリ 87,152 KB
最終ジャッジ日時 2023-08-18 11:28:35
合計ジャッジ時間 4,585 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,388 KB
testcase_01 AC 75 ms
71,136 KB
testcase_02 AC 73 ms
71,252 KB
testcase_03 AC 154 ms
83,700 KB
testcase_04 AC 160 ms
83,604 KB
testcase_05 AC 141 ms
82,112 KB
testcase_06 AC 125 ms
80,068 KB
testcase_07 AC 158 ms
83,496 KB
testcase_08 AC 146 ms
81,896 KB
testcase_09 AC 159 ms
83,676 KB
testcase_10 AC 114 ms
77,980 KB
testcase_11 AC 184 ms
87,152 KB
testcase_12 AC 138 ms
81,904 KB
testcase_13 AC 74 ms
71,624 KB
testcase_14 AC 73 ms
71,372 KB
testcase_15 AC 73 ms
71,400 KB
testcase_16 AC 74 ms
71,528 KB
testcase_17 AC 74 ms
71,132 KB
testcase_18 AC 73 ms
71,368 KB
testcase_19 AC 75 ms
71,372 KB
testcase_20 AC 74 ms
71,424 KB
testcase_21 AC 74 ms
71,256 KB
testcase_22 AC 73 ms
71,400 KB
testcase_23 AC 75 ms
71,448 KB
testcase_24 AC 75 ms
71,124 KB
testcase_25 AC 75 ms
71,364 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#int(input())
#map(int, input().split())
#list(map(int, input().split()))

N = int(input())
x = [0] * N
for i in range(N):
    x[i] = list(map(int, input().split()))

d = [0] * 4
for i in range(N):
    u = x[i][0]%2 + (x[i][1]%2) * 2
    d[u] += 1

t = 0
for i in range(4):
    t += d[i]//2

if t % 2 == 0:
    print("Bob")
else:
    print("Alice")
0