結果

問題 No.1506 Unbalanced Pocky Game
ユーザー O2MTO2MT
提出日時 2021-05-15 15:43:40
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 174 bytes
コンパイル時間 304 ms
コンパイル使用メモリ 82,664 KB
実行使用メモリ 102,268 KB
最終ジャッジ日時 2024-04-14 06:29:50
合計ジャッジ時間 5,893 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
52,556 KB
testcase_01 AC 36 ms
53,312 KB
testcase_02 AC 36 ms
52,984 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 43 ms
63,468 KB
testcase_14 AC 49 ms
70,252 KB
testcase_15 AC 47 ms
68,260 KB
testcase_16 AC 60 ms
84,680 KB
testcase_17 AC 50 ms
70,736 KB
testcase_18 AC 45 ms
66,244 KB
testcase_19 AC 44 ms
65,340 KB
testcase_20 AC 62 ms
88,868 KB
testcase_21 AC 47 ms
68,396 KB
testcase_22 AC 54 ms
76,944 KB
testcase_23 WA -
testcase_24 WA -
testcase_25 AC 77 ms
96,176 KB
testcase_26 AC 79 ms
102,168 KB
testcase_27 AC 79 ms
102,116 KB
testcase_28 AC 80 ms
101,760 KB
testcase_29 AC 78 ms
101,568 KB
testcase_30 AC 80 ms
102,232 KB
testcase_31 AC 79 ms
102,268 KB
testcase_32 AC 79 ms
101,888 KB
testcase_33 AC 80 ms
101,424 KB
testcase_34 AC 78 ms
101,392 KB
testcase_35 AC 78 ms
101,260 KB
testcase_36 AC 36 ms
52,304 KB
testcase_37 AC 36 ms
53,816 KB
testcase_38 AC 37 ms
53,616 KB
testcase_39 AC 37 ms
53,500 KB
testcase_40 AC 37 ms
52,540 KB
testcase_41 AC 37 ms
53,216 KB
testcase_42 AC 37 ms
53,120 KB
testcase_43 AC 37 ms
52,732 KB
testcase_44 AC 37 ms
52,864 KB
testcase_45 AC 38 ms
52,320 KB
testcase_46 AC 52 ms
73,064 KB
testcase_47 AC 43 ms
63,432 KB
testcase_48 AC 44 ms
65,268 KB
testcase_49 AC 55 ms
75,572 KB
testcase_50 AC 53 ms
72,952 KB
testcase_51 AC 55 ms
75,652 KB
testcase_52 AC 52 ms
72,192 KB
testcase_53 AC 57 ms
78,576 KB
testcase_54 AC 44 ms
65,420 KB
testcase_55 AC 42 ms
63,004 KB
testcase_56 AC 43 ms
62,820 KB
testcase_57 AC 53 ms
74,268 KB
testcase_58 AC 42 ms
63,332 KB
testcase_59 AC 40 ms
60,528 KB
testcase_60 AC 47 ms
67,288 KB
testcase_61 AC 53 ms
72,492 KB
testcase_62 AC 50 ms
70,836 KB
testcase_63 AC 46 ms
66,048 KB
testcase_64 AC 54 ms
74,536 KB
testcase_65 AC 48 ms
67,264 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int,input().split()))
A.reverse()
players = ['Alice', 'Bob']
idx = 0
for a in A:
  if a == 1:
    idx ^= 1
  else:
    break
print(players[idx])
0