結果

問題 No.601 Midpoint Erase
ユーザー 👑 H20H20
提出日時 2021-01-21 10:42:10
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 123 ms / 2,000 ms
コード長 218 bytes
コンパイル時間 940 ms
コンパイル使用メモリ 87,016 KB
実行使用メモリ 77,524 KB
最終ジャッジ日時 2023-08-25 21:53:23
合計ジャッジ時間 5,342 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
71,336 KB
testcase_01 AC 62 ms
71,444 KB
testcase_02 AC 60 ms
71,064 KB
testcase_03 AC 123 ms
77,044 KB
testcase_04 AC 109 ms
77,324 KB
testcase_05 AC 103 ms
77,248 KB
testcase_06 AC 92 ms
77,012 KB
testcase_07 AC 110 ms
77,268 KB
testcase_08 AC 103 ms
77,524 KB
testcase_09 AC 107 ms
77,268 KB
testcase_10 AC 85 ms
77,372 KB
testcase_11 AC 118 ms
77,360 KB
testcase_12 AC 101 ms
77,020 KB
testcase_13 AC 59 ms
71,140 KB
testcase_14 AC 62 ms
71,104 KB
testcase_15 AC 61 ms
71,496 KB
testcase_16 AC 62 ms
71,296 KB
testcase_17 AC 61 ms
71,328 KB
testcase_18 AC 72 ms
71,148 KB
testcase_19 AC 59 ms
71,304 KB
testcase_20 AC 58 ms
71,448 KB
testcase_21 AC 60 ms
71,088 KB
testcase_22 AC 61 ms
71,224 KB
testcase_23 AC 63 ms
71,432 KB
testcase_24 AC 62 ms
71,228 KB
testcase_25 AC 59 ms
71,168 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
L = [[0] * 2 for i in range(2)]
for i in range(N):
    x,y = map(int,input().split())
    L[x%2][y%2]+=1
if (L[0][0]//2+L[0][1]//2+L[1][0]//2+L[1][1]//2)%2==1:
    print('Alice')
else:
    print('Bob')
0