結果

問題 No.1506 Unbalanced Pocky Game
ユーザー otsunekootsuneko
提出日時 2021-05-15 00:06:28
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 219 bytes
コンパイル時間 319 ms
コンパイル使用メモリ 82,396 KB
実行使用メモリ 105,724 KB
最終ジャッジ日時 2024-04-10 05:16:10
合計ジャッジ時間 5,792 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
53,220 KB
testcase_01 AC 33 ms
52,424 KB
testcase_02 AC 35 ms
52,488 KB
testcase_03 WA -
testcase_04 AC 58 ms
82,708 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 49 ms
76,076 KB
testcase_09 WA -
testcase_10 AC 60 ms
89,672 KB
testcase_11 AC 45 ms
70,692 KB
testcase_12 WA -
testcase_13 AC 41 ms
64,788 KB
testcase_14 AC 46 ms
71,984 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 43 ms
67,360 KB
testcase_19 AC 42 ms
66,728 KB
testcase_20 AC 62 ms
89,612 KB
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 35 ms
52,440 KB
testcase_24 AC 35 ms
52,700 KB
testcase_25 AC 71 ms
97,872 KB
testcase_26 AC 84 ms
105,496 KB
testcase_27 AC 85 ms
105,064 KB
testcase_28 WA -
testcase_29 AC 81 ms
104,920 KB
testcase_30 AC 82 ms
105,408 KB
testcase_31 WA -
testcase_32 AC 83 ms
104,288 KB
testcase_33 AC 81 ms
104,708 KB
testcase_34 AC 81 ms
104,944 KB
testcase_35 AC 80 ms
104,372 KB
testcase_36 AC 34 ms
52,140 KB
testcase_37 AC 32 ms
53,228 KB
testcase_38 AC 33 ms
52,444 KB
testcase_39 AC 33 ms
53,948 KB
testcase_40 AC 33 ms
52,428 KB
testcase_41 AC 33 ms
52,752 KB
testcase_42 AC 33 ms
52,304 KB
testcase_43 AC 33 ms
52,524 KB
testcase_44 AC 33 ms
52,456 KB
testcase_45 AC 35 ms
51,980 KB
testcase_46 AC 53 ms
75,148 KB
testcase_47 AC 45 ms
64,852 KB
testcase_48 AC 44 ms
66,568 KB
testcase_49 AC 54 ms
77,552 KB
testcase_50 AC 53 ms
75,316 KB
testcase_51 WA -
testcase_52 WA -
testcase_53 AC 57 ms
82,848 KB
testcase_54 AC 44 ms
67,672 KB
testcase_55 AC 42 ms
65,556 KB
testcase_56 AC 42 ms
66,332 KB
testcase_57 AC 53 ms
76,128 KB
testcase_58 AC 43 ms
64,924 KB
testcase_59 WA -
testcase_60 AC 46 ms
70,440 KB
testcase_61 WA -
testcase_62 AC 48 ms
73,052 KB
testcase_63 AC 46 ms
68,896 KB
testcase_64 AC 53 ms
78,232 KB
testcase_65 AC 48 ms
69,460 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int,input().split()))

ans = True
for a in A[1:]:
    if ans:
        ans = not ans if a == 1 else ans
    else:
        ans = not ans if a > 1 else ans
print(["Bob","Alice"][ans])
0