結果

問題 No.2059 Odd Move Nim
ユーザー flygonflygon
提出日時 2022-09-19 18:07:52
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 153 bytes
コンパイル時間 265 ms
コンパイル使用メモリ 87,088 KB
実行使用メモリ 100,748 KB
最終ジャッジ日時 2023-08-23 18:59:46
合計ジャッジ時間 3,809 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,172 KB
testcase_01 AC 69 ms
71,300 KB
testcase_02 AC 69 ms
71,232 KB
testcase_03 AC 67 ms
71,136 KB
testcase_04 AC 68 ms
71,272 KB
testcase_05 AC 69 ms
71,104 KB
testcase_06 AC 68 ms
71,276 KB
testcase_07 AC 70 ms
71,280 KB
testcase_08 AC 70 ms
71,112 KB
testcase_09 AC 70 ms
71,276 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 123 ms
100,308 KB
testcase_14 AC 124 ms
100,332 KB
testcase_15 AC 124 ms
100,432 KB
testcase_16 AC 126 ms
100,336 KB
testcase_17 AC 123 ms
100,336 KB
testcase_18 AC 123 ms
100,328 KB
testcase_19 AC 124 ms
100,412 KB
testcase_20 AC 123 ms
100,488 KB
testcase_21 AC 124 ms
100,180 KB
testcase_22 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = list(map(int,input().split()))
now = 0
for i in range(1, n):
  now += a[i]*i

if now % 2 == 1:
  print("Alice")
else:
  print("Bob")
0