結果

問題 No.601 Midpoint Erase
ユーザー 👑 KazunKazun
提出日時 2021-01-04 16:20:23
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 229 bytes
コンパイル時間 419 ms
コンパイル使用メモリ 82,384 KB
実行使用メモリ 76,620 KB
最終ジャッジ日時 2024-04-23 02:34:19
合計ジャッジ時間 3,678 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
53,500 KB
testcase_01 AC 37 ms
52,404 KB
testcase_02 AC 38 ms
52,200 KB
testcase_03 AC 103 ms
76,540 KB
testcase_04 AC 111 ms
76,528 KB
testcase_05 AC 99 ms
76,392 KB
testcase_06 AC 84 ms
76,580 KB
testcase_07 AC 108 ms
76,396 KB
testcase_08 AC 104 ms
76,228 KB
testcase_09 AC 115 ms
76,336 KB
testcase_10 AC 76 ms
76,532 KB
testcase_11 AC 129 ms
76,392 KB
testcase_12 AC 96 ms
76,620 KB
testcase_13 AC 38 ms
52,864 KB
testcase_14 AC 38 ms
52,528 KB
testcase_15 AC 39 ms
52,552 KB
testcase_16 AC 38 ms
53,104 KB
testcase_17 AC 38 ms
53,572 KB
testcase_18 AC 37 ms
53,112 KB
testcase_19 AC 39 ms
52,684 KB
testcase_20 AC 38 ms
53,424 KB
testcase_21 AC 40 ms
53,408 KB
testcase_22 AC 38 ms
52,944 KB
testcase_23 AC 36 ms
53,340 KB
testcase_24 AC 38 ms
52,444 KB
testcase_25 AC 37 ms
52,940 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
D={(a,b):0 for a in [0,1] for b in [0,1]}

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

T=sum([p//2 for p in D.values()])

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