結果

問題 No.1506 Unbalanced Pocky Game
ユーザー brthyyjpbrthyyjp
提出日時 2021-05-17 19:47:16
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 161 bytes
コンパイル時間 223 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 102,652 KB
最終ジャッジ日時 2024-04-16 08:05:32
合計ジャッジ時間 5,671 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
52,868 KB
testcase_01 AC 40 ms
52,992 KB
testcase_02 AC 40 ms
53,720 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,752 KB
testcase_14 AC 52 ms
70,204 KB
testcase_15 AC 49 ms
68,760 KB
testcase_16 AC 64 ms
85,036 KB
testcase_17 AC 52 ms
71,232 KB
testcase_18 AC 47 ms
67,404 KB
testcase_19 AC 45 ms
64,512 KB
testcase_20 AC 64 ms
87,180 KB
testcase_21 AC 49 ms
69,168 KB
testcase_22 AC 56 ms
76,424 KB
testcase_23 WA -
testcase_24 WA -
testcase_25 AC 73 ms
95,908 KB
testcase_26 AC 80 ms
101,492 KB
testcase_27 AC 81 ms
102,580 KB
testcase_28 AC 80 ms
100,400 KB
testcase_29 AC 80 ms
101,252 KB
testcase_30 AC 81 ms
101,616 KB
testcase_31 AC 80 ms
101,824 KB
testcase_32 AC 80 ms
102,652 KB
testcase_33 AC 81 ms
101,240 KB
testcase_34 AC 80 ms
101,292 KB
testcase_35 AC 81 ms
100,756 KB
testcase_36 AC 39 ms
52,832 KB
testcase_37 AC 38 ms
53,444 KB
testcase_38 AC 38 ms
51,980 KB
testcase_39 AC 38 ms
52,152 KB
testcase_40 AC 39 ms
53,196 KB
testcase_41 AC 39 ms
52,148 KB
testcase_42 AC 39 ms
53,600 KB
testcase_43 AC 38 ms
52,944 KB
testcase_44 AC 38 ms
53,188 KB
testcase_45 AC 38 ms
53,848 KB
testcase_46 AC 54 ms
73,872 KB
testcase_47 AC 45 ms
63,432 KB
testcase_48 AC 46 ms
64,756 KB
testcase_49 AC 56 ms
74,900 KB
testcase_50 AC 54 ms
73,296 KB
testcase_51 AC 56 ms
74,900 KB
testcase_52 AC 52 ms
71,656 KB
testcase_53 AC 58 ms
78,644 KB
testcase_54 AC 47 ms
65,876 KB
testcase_55 AC 45 ms
63,124 KB
testcase_56 AC 44 ms
63,064 KB
testcase_57 AC 53 ms
72,804 KB
testcase_58 AC 45 ms
63,396 KB
testcase_59 AC 43 ms
62,440 KB
testcase_60 AC 47 ms
67,352 KB
testcase_61 AC 53 ms
73,176 KB
testcase_62 AC 50 ms
70,388 KB
testcase_63 AC 47 ms
66,948 KB
testcase_64 AC 55 ms
75,448 KB
testcase_65 AC 48 ms
67,136 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
A = list(map(int, input().split()))
i = 0
while A and A[-1] == 1:
    A.pop()
    i += 1
if i%2 == 0:
    print('Alice')
else:
    print('Bob')
0