結果

問題 No.1506 Unbalanced Pocky Game
ユーザー kohei2019kohei2019
提出日時 2022-06-18 12:14:48
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 95 ms / 2,000 ms
コード長 162 bytes
コンパイル時間 247 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 101,376 KB
最終ジャッジ日時 2024-04-18 06:45:23
合計ジャッジ時間 6,337 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
51,840 KB
testcase_01 AC 41 ms
51,584 KB
testcase_02 AC 46 ms
51,584 KB
testcase_03 AC 49 ms
60,544 KB
testcase_04 AC 71 ms
83,200 KB
testcase_05 AC 74 ms
86,784 KB
testcase_06 AC 65 ms
75,520 KB
testcase_07 AC 59 ms
70,400 KB
testcase_08 AC 65 ms
76,544 KB
testcase_09 AC 74 ms
86,912 KB
testcase_10 AC 77 ms
89,600 KB
testcase_11 AC 60 ms
70,912 KB
testcase_12 AC 59 ms
69,248 KB
testcase_13 AC 51 ms
62,336 KB
testcase_14 AC 56 ms
69,376 KB
testcase_15 AC 54 ms
66,560 KB
testcase_16 AC 70 ms
84,224 KB
testcase_17 AC 57 ms
70,912 KB
testcase_18 AC 52 ms
65,664 KB
testcase_19 AC 51 ms
64,256 KB
testcase_20 AC 72 ms
86,656 KB
testcase_21 AC 56 ms
67,584 KB
testcase_22 AC 64 ms
76,160 KB
testcase_23 AC 41 ms
51,584 KB
testcase_24 AC 41 ms
51,840 KB
testcase_25 AC 82 ms
95,360 KB
testcase_26 AC 93 ms
100,608 KB
testcase_27 AC 93 ms
100,608 KB
testcase_28 AC 92 ms
99,968 KB
testcase_29 AC 93 ms
100,096 KB
testcase_30 AC 95 ms
101,120 KB
testcase_31 AC 94 ms
101,376 KB
testcase_32 AC 95 ms
100,736 KB
testcase_33 AC 93 ms
100,736 KB
testcase_34 AC 93 ms
100,352 KB
testcase_35 AC 95 ms
100,352 KB
testcase_36 AC 41 ms
51,968 KB
testcase_37 AC 41 ms
51,968 KB
testcase_38 AC 41 ms
51,968 KB
testcase_39 AC 41 ms
51,584 KB
testcase_40 AC 42 ms
51,584 KB
testcase_41 AC 42 ms
51,840 KB
testcase_42 AC 41 ms
51,968 KB
testcase_43 AC 41 ms
51,712 KB
testcase_44 AC 43 ms
51,840 KB
testcase_45 AC 43 ms
51,712 KB
testcase_46 AC 62 ms
72,704 KB
testcase_47 AC 51 ms
62,464 KB
testcase_48 AC 54 ms
64,128 KB
testcase_49 AC 64 ms
74,624 KB
testcase_50 AC 61 ms
72,448 KB
testcase_51 AC 63 ms
74,624 KB
testcase_52 AC 59 ms
70,912 KB
testcase_53 AC 66 ms
78,592 KB
testcase_54 AC 55 ms
64,896 KB
testcase_55 AC 52 ms
62,848 KB
testcase_56 AC 50 ms
62,208 KB
testcase_57 AC 62 ms
72,576 KB
testcase_58 AC 52 ms
61,952 KB
testcase_59 AC 49 ms
60,160 KB
testcase_60 AC 55 ms
66,944 KB
testcase_61 AC 61 ms
72,320 KB
testcase_62 AC 58 ms
69,376 KB
testcase_63 AC 55 ms
65,536 KB
testcase_64 AC 64 ms
74,240 KB
testcase_65 AC 56 ms
66,560 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
ll = list(map(int,input().split()))
ll.pop(0)
ans = 0
while ll and ll[-1] == 1:
    ll.pop()
    ans ^= 1
print('Alice' if ans == 0 else 'Bob') 
0