結果

問題 No.601 Midpoint Erase
ユーザー pluto77pluto77
提出日時 2017-12-22 16:22:46
言語 Python2
(2.7.18)
結果
AC  
実行時間 257 ms / 2,000 ms
コード長 246 bytes
コンパイル時間 852 ms
コンパイル使用メモリ 7,052 KB
実行使用メモリ 5,992 KB
最終ジャッジ日時 2023-08-24 18:51:20
合計ジャッジ時間 4,080 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,816 KB
testcase_01 AC 11 ms
5,840 KB
testcase_02 AC 11 ms
5,860 KB
testcase_03 AC 172 ms
5,980 KB
testcase_04 AC 189 ms
5,948 KB
testcase_05 AC 140 ms
5,856 KB
testcase_06 AC 81 ms
5,880 KB
testcase_07 AC 181 ms
5,932 KB
testcase_08 AC 156 ms
5,880 KB
testcase_09 AC 185 ms
5,880 KB
testcase_10 AC 48 ms
5,804 KB
testcase_11 AC 257 ms
5,856 KB
testcase_12 AC 123 ms
5,888 KB
testcase_13 AC 11 ms
5,876 KB
testcase_14 AC 11 ms
5,952 KB
testcase_15 AC 10 ms
5,908 KB
testcase_16 AC 11 ms
5,908 KB
testcase_17 AC 11 ms
5,992 KB
testcase_18 AC 11 ms
5,864 KB
testcase_19 AC 10 ms
5,956 KB
testcase_20 AC 11 ms
5,816 KB
testcase_21 AC 11 ms
5,876 KB
testcase_22 AC 10 ms
5,860 KB
testcase_23 AC 10 ms
5,952 KB
testcase_24 AC 10 ms
5,828 KB
testcase_25 AC 11 ms
5,812 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#yuki_601
n=int(raw_input())
oe=[[0 for i in xrange(2)] for j in xrange(2)]
for i in xrange(n):
 x,y=map(int,raw_input().split())
 oe[x%2][y%2]+=1
res=0
for i in xrange(2):
 for j in xrange(2):
  res+=oe[i][j]/2
print 'Alice' if res%2 else 'Bob'
0