結果

問題 No.2059 Odd Move Nim
ユーザー KudeKude
提出日時 2022-08-26 21:53:42
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 119 ms / 2,000 ms
コード長 112 bytes
コンパイル時間 386 ms
コンパイル使用メモリ 87,160 KB
実行使用メモリ 100,952 KB
最終ジャッジ日時 2023-08-05 13:58:47
合計ジャッジ時間 3,629 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
71,012 KB
testcase_01 AC 70 ms
71,196 KB
testcase_02 AC 65 ms
71,136 KB
testcase_03 AC 64 ms
71,264 KB
testcase_04 AC 66 ms
71,284 KB
testcase_05 AC 66 ms
71,128 KB
testcase_06 AC 65 ms
71,524 KB
testcase_07 AC 65 ms
71,332 KB
testcase_08 AC 65 ms
71,272 KB
testcase_09 AC 68 ms
71,520 KB
testcase_10 AC 68 ms
71,224 KB
testcase_11 AC 64 ms
71,400 KB
testcase_12 AC 119 ms
100,680 KB
testcase_13 AC 115 ms
100,844 KB
testcase_14 AC 118 ms
100,680 KB
testcase_15 AC 118 ms
100,584 KB
testcase_16 AC 115 ms
100,952 KB
testcase_17 AC 117 ms
100,668 KB
testcase_18 AC 115 ms
100,552 KB
testcase_19 AC 114 ms
100,744 KB
testcase_20 AC 113 ms
100,748 KB
testcase_21 AC 114 ms
100,744 KB
testcase_22 AC 65 ms
71,152 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
x = 0
for a in list(map(int, input().split()))[1::2]:
    x ^= a
print('Alice' if x else 'Bob')
0