結果
問題 | No.601 Midpoint Erase |
ユーザー |
![]() |
提出日時 | 2021-02-04 11:15:48 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 118 ms / 2,000 ms |
コード長 | 360 bytes |
コンパイル時間 | 174 ms |
コンパイル使用メモリ | 82,548 KB |
実行使用メモリ | 76,540 KB |
最終ジャッジ日時 | 2024-06-30 16:23:29 |
合計ジャッジ時間 | 3,396 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 23 |
ソースコード
n = int(input())XY = []ee = 0eo = 0oe = 0oo = 0for i in range(n):x, y = map(int, input().split())if x%2 == 0 and y%2 == 0:ee += 1elif x%2 == 0 and y%2 == 1:eo += 1elif x%2 == 1 and y%2 == 0:oe += 1else:oo += 1c = ee//2+eo//2+oe//2+oo//2if c%2 == 1:print('Alice')else:print('Bob')