結果

問題 No.601 Midpoint Erase
ユーザー rlangevinrlangevin
提出日時 2023-01-04 20:29:28
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 119 ms / 2,000 ms
コード長 206 bytes
コンパイル時間 2,096 ms
コンパイル使用メモリ 86,720 KB
実行使用メモリ 77,428 KB
最終ジャッジ日時 2023-08-18 17:31:59
合計ジャッジ時間 4,812 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
71,108 KB
testcase_01 AC 61 ms
71,264 KB
testcase_02 AC 62 ms
71,096 KB
testcase_03 AC 115 ms
77,016 KB
testcase_04 AC 114 ms
76,816 KB
testcase_05 AC 102 ms
76,932 KB
testcase_06 AC 95 ms
77,156 KB
testcase_07 AC 109 ms
77,372 KB
testcase_08 AC 103 ms
77,160 KB
testcase_09 AC 108 ms
77,428 KB
testcase_10 AC 88 ms
77,136 KB
testcase_11 AC 119 ms
77,044 KB
testcase_12 AC 99 ms
76,928 KB
testcase_13 AC 62 ms
71,208 KB
testcase_14 AC 64 ms
71,076 KB
testcase_15 AC 62 ms
71,080 KB
testcase_16 AC 61 ms
71,208 KB
testcase_17 AC 62 ms
71,352 KB
testcase_18 AC 71 ms
71,416 KB
testcase_19 AC 64 ms
71,252 KB
testcase_20 AC 67 ms
71,172 KB
testcase_21 AC 70 ms
71,084 KB
testcase_22 AC 66 ms
71,308 KB
testcase_23 AC 66 ms
71,140 KB
testcase_24 AC 64 ms
70,972 KB
testcase_25 AC 64 ms
71,344 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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