結果

問題 No.2059 Odd Move Nim
ユーザー flygonflygon
提出日時 2022-09-19 18:30:24
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 172 bytes
コンパイル時間 330 ms
コンパイル使用メモリ 86,772 KB
実行使用メモリ 100,576 KB
最終ジャッジ日時 2023-08-23 19:02:37
合計ジャッジ時間 3,988 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,212 KB
testcase_01 AC 70 ms
71,112 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 70 ms
70,972 KB
testcase_06 WA -
testcase_07 AC 70 ms
70,928 KB
testcase_08 AC 70 ms
71,112 KB
testcase_09 AC 70 ms
71,096 KB
testcase_10 WA -
testcase_11 AC 68 ms
71,356 KB
testcase_12 AC 121 ms
100,452 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 121 ms
100,408 KB
testcase_16 AC 121 ms
100,400 KB
testcase_17 WA -
testcase_18 AC 122 ms
100,524 KB
testcase_19 AC 123 ms
100,332 KB
testcase_20 WA -
testcase_21 AC 123 ms
100,424 KB
testcase_22 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = list(map(int,input().split()))
now = 0
for i in range(1, n):
  if i % 2 == 1: continue
  now ^= a[i]
if now == 0:
  print("Bob")
else:
  print("Alice")
0