結果

問題 No.2059 Odd Move Nim
ユーザー 👑 KazunKazun
提出日時 2022-08-26 22:27:24
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 93 ms / 2,000 ms
コード長 123 bytes
コンパイル時間 150 ms
コンパイル使用メモリ 82,096 KB
実行使用メモリ 102,200 KB
最終ジャッジ日時 2024-04-23 11:11:07
合計ジャッジ時間 2,700 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
51,752 KB
testcase_01 AC 32 ms
52,644 KB
testcase_02 AC 32 ms
53,232 KB
testcase_03 AC 38 ms
53,492 KB
testcase_04 AC 35 ms
52,384 KB
testcase_05 AC 37 ms
52,496 KB
testcase_06 AC 32 ms
52,220 KB
testcase_07 AC 33 ms
53,228 KB
testcase_08 AC 32 ms
52,692 KB
testcase_09 AC 32 ms
52,224 KB
testcase_10 AC 33 ms
52,268 KB
testcase_11 AC 33 ms
53,300 KB
testcase_12 AC 87 ms
102,200 KB
testcase_13 AC 87 ms
101,992 KB
testcase_14 AC 90 ms
101,792 KB
testcase_15 AC 87 ms
101,968 KB
testcase_16 AC 88 ms
102,000 KB
testcase_17 AC 86 ms
102,064 KB
testcase_18 AC 93 ms
102,124 KB
testcase_19 AC 88 ms
101,872 KB
testcase_20 AC 87 ms
102,044 KB
testcase_21 AC 87 ms
101,832 KB
testcase_22 AC 33 ms
52,364 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
A=list(map(int,input().split()))

X=0
for i in range(1,N,2):
    X^=A[i]

print("Bob" if X==0 else "Alice")
0