結果

問題 No.2059 Odd Move Nim
ユーザー prussian_coderprussian_coder
提出日時 2022-08-27 12:46:50
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 75 ms / 2,000 ms
コード長 105 bytes
コンパイル時間 243 ms
コンパイル使用メモリ 82,452 KB
実行使用メモリ 94,912 KB
最終ジャッジ日時 2024-04-23 11:13:40
合計ジャッジ時間 2,439 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
52,760 KB
testcase_01 AC 38 ms
53,364 KB
testcase_02 AC 35 ms
53,480 KB
testcase_03 AC 36 ms
53,408 KB
testcase_04 AC 38 ms
53,012 KB
testcase_05 AC 36 ms
53,020 KB
testcase_06 AC 33 ms
52,736 KB
testcase_07 AC 32 ms
51,820 KB
testcase_08 AC 32 ms
52,616 KB
testcase_09 AC 32 ms
52,020 KB
testcase_10 AC 31 ms
53,128 KB
testcase_11 AC 31 ms
53,536 KB
testcase_12 AC 68 ms
94,540 KB
testcase_13 AC 68 ms
94,716 KB
testcase_14 AC 69 ms
94,692 KB
testcase_15 AC 71 ms
94,612 KB
testcase_16 AC 72 ms
94,352 KB
testcase_17 AC 69 ms
94,696 KB
testcase_18 AC 71 ms
94,660 KB
testcase_19 AC 68 ms
94,452 KB
testcase_20 AC 69 ms
94,788 KB
testcase_21 AC 75 ms
94,912 KB
testcase_22 AC 36 ms
52,972 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())*0
A=[int(x) for x in input().split()[1::2]]
for a in A:
	N^=a
print(["Alice","Bob"][N==0])
0