結果

問題 No.2666 Decreasing Modulo Nim
ユーザー ゼットゼット
提出日時 2024-03-08 21:40:15
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 91 ms / 2,000 ms
コード長 181 bytes
コンパイル時間 575 ms
コンパイル使用メモリ 81,572 KB
実行使用メモリ 107,440 KB
最終ジャッジ日時 2024-03-08 21:40:27
合計ジャッジ時間 6,043 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
53,460 KB
testcase_01 AC 31 ms
53,460 KB
testcase_02 AC 33 ms
53,460 KB
testcase_03 AC 40 ms
66,412 KB
testcase_04 AC 76 ms
102,500 KB
testcase_05 AC 84 ms
101,396 KB
testcase_06 AC 37 ms
62,280 KB
testcase_07 AC 64 ms
94,448 KB
testcase_08 AC 46 ms
73,244 KB
testcase_09 AC 74 ms
102,288 KB
testcase_10 AC 65 ms
94,372 KB
testcase_11 AC 45 ms
72,256 KB
testcase_12 AC 41 ms
67,620 KB
testcase_13 AC 49 ms
77,204 KB
testcase_14 AC 42 ms
69,172 KB
testcase_15 AC 70 ms
97,828 KB
testcase_16 AC 44 ms
68,312 KB
testcase_17 AC 57 ms
79,508 KB
testcase_18 AC 65 ms
89,600 KB
testcase_19 AC 56 ms
82,848 KB
testcase_20 AC 52 ms
81,068 KB
testcase_21 AC 73 ms
102,324 KB
testcase_22 AC 44 ms
67,668 KB
testcase_23 AC 43 ms
67,636 KB
testcase_24 AC 43 ms
69,168 KB
testcase_25 AC 45 ms
73,268 KB
testcase_26 AC 64 ms
94,432 KB
testcase_27 AC 55 ms
83,152 KB
testcase_28 AC 74 ms
102,676 KB
testcase_29 AC 65 ms
94,540 KB
testcase_30 AC 83 ms
107,440 KB
testcase_31 AC 62 ms
87,252 KB
testcase_32 AC 66 ms
97,252 KB
testcase_33 AC 88 ms
101,408 KB
testcase_34 AC 41 ms
65,912 KB
testcase_35 AC 82 ms
102,132 KB
testcase_36 AC 63 ms
89,800 KB
testcase_37 AC 74 ms
101,464 KB
testcase_38 AC 89 ms
107,348 KB
testcase_39 AC 42 ms
65,920 KB
testcase_40 AC 68 ms
94,556 KB
testcase_41 AC 64 ms
87,360 KB
testcase_42 AC 63 ms
87,420 KB
testcase_43 AC 33 ms
53,460 KB
testcase_44 AC 33 ms
53,460 KB
testcase_45 AC 86 ms
101,612 KB
testcase_46 AC 87 ms
101,600 KB
testcase_47 AC 88 ms
101,612 KB
testcase_48 AC 87 ms
101,600 KB
testcase_49 AC 89 ms
101,612 KB
testcase_50 AC 91 ms
101,600 KB
testcase_51 AC 88 ms
101,612 KB
testcase_52 AC 89 ms
101,600 KB
testcase_53 AC 89 ms
101,996 KB
testcase_54 AC 88 ms
101,996 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,M=map(int,input().split())
A=list(map(int,input().split()))
x=0
y=0
for i in range(N):
  p=A[i]//M
  q=A[i]%M
  x^=p
  y^=q
if x==0 and y==0:
  print('Bob')
else:
  print('Alice')
0