結果

問題 No.601 Midpoint Erase
ユーザー tossytossy
提出日時 2017-12-01 00:08:17
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 174 ms / 2,000 ms
コード長 248 bytes
コンパイル時間 580 ms
コンパイル使用メモリ 86,996 KB
実行使用メモリ 77,396 KB
最終ジャッジ日時 2023-08-24 18:32:02
合計ジャッジ時間 4,733 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
71,192 KB
testcase_01 AC 81 ms
71,228 KB
testcase_02 AC 83 ms
71,256 KB
testcase_03 AC 174 ms
77,168 KB
testcase_04 AC 137 ms
77,100 KB
testcase_05 AC 129 ms
77,224 KB
testcase_06 AC 118 ms
77,192 KB
testcase_07 AC 141 ms
77,220 KB
testcase_08 AC 129 ms
77,396 KB
testcase_09 AC 134 ms
77,120 KB
testcase_10 AC 111 ms
77,108 KB
testcase_11 AC 148 ms
77,180 KB
testcase_12 AC 129 ms
77,208 KB
testcase_13 AC 81 ms
71,344 KB
testcase_14 AC 82 ms
71,440 KB
testcase_15 AC 87 ms
71,112 KB
testcase_16 AC 81 ms
71,292 KB
testcase_17 AC 81 ms
71,240 KB
testcase_18 AC 86 ms
71,080 KB
testcase_19 AC 82 ms
71,208 KB
testcase_20 AC 84 ms
71,292 KB
testcase_21 AC 84 ms
71,296 KB
testcase_22 AC 81 ms
71,236 KB
testcase_23 AC 80 ms
71,200 KB
testcase_24 AC 79 ms
71,276 KB
testcase_25 AC 82 ms
71,388 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

arr = [[0,0], [0,0]]

for _ in range(n):
    x, y = map(int, input().split())
    arr[x%2][y%2] += 1

ans = 0
for i in range(2):
    for j in range(2):
        ans += arr[i][j]//2

if ans%2 == 0: print('Bob')
else: print('Alice')
0