結果

問題 No.1506 Unbalanced Pocky Game
ユーザー otsunekootsuneko
提出日時 2021-05-14 23:44:34
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 405 bytes
コンパイル時間 215 ms
コンパイル使用メモリ 82,376 KB
実行使用メモリ 103,012 KB
最終ジャッジ日時 2024-04-10 04:29:53
合計ジャッジ時間 5,280 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
52,076 KB
testcase_01 AC 34 ms
51,888 KB
testcase_02 AC 35 ms
51,936 KB
testcase_03 WA -
testcase_04 AC 55 ms
82,288 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 54 ms
74,488 KB
testcase_09 WA -
testcase_10 AC 59 ms
87,796 KB
testcase_11 AC 45 ms
69,724 KB
testcase_12 WA -
testcase_13 AC 41 ms
63,864 KB
testcase_14 AC 47 ms
70,128 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 43 ms
65,820 KB
testcase_19 AC 42 ms
64,980 KB
testcase_20 AC 60 ms
87,624 KB
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 35 ms
52,284 KB
testcase_24 AC 34 ms
52,884 KB
testcase_25 WA -
testcase_26 WA -
testcase_27 AC 76 ms
101,588 KB
testcase_28 AC 75 ms
101,300 KB
testcase_29 AC 75 ms
101,384 KB
testcase_30 AC 75 ms
101,948 KB
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
testcase_34 WA -
testcase_35 AC 75 ms
101,012 KB
testcase_36 WA -
testcase_37 WA -
testcase_38 WA -
testcase_39 AC 36 ms
53,644 KB
testcase_40 WA -
testcase_41 AC 35 ms
52,872 KB
testcase_42 AC 35 ms
52,856 KB
testcase_43 AC 35 ms
53,112 KB
testcase_44 AC 37 ms
52,404 KB
testcase_45 AC 35 ms
53,104 KB
testcase_46 WA -
testcase_47 WA -
testcase_48 AC 41 ms
65,768 KB
testcase_49 AC 51 ms
75,836 KB
testcase_50 AC 49 ms
74,308 KB
testcase_51 WA -
testcase_52 AC 47 ms
71,532 KB
testcase_53 AC 55 ms
80,288 KB
testcase_54 WA -
testcase_55 AC 40 ms
63,748 KB
testcase_56 AC 41 ms
64,332 KB
testcase_57 WA -
testcase_58 WA -
testcase_59 AC 39 ms
60,708 KB
testcase_60 WA -
testcase_61 AC 49 ms
73,064 KB
testcase_62 WA -
testcase_63 WA -
testcase_64 AC 53 ms
75,044 KB
testcase_65 AC 45 ms
68,868 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

if N == 1:
    print("Alice")
elif N == 2:
    if A[1] == 1:
        print("Bob")
    else:
        print("Alice")
else:
    if A[1] == 1:
        if A[2] > 1:
            print("Alice")
        else:
            print("Bob")
    elif A[1] > 1:
        if A[2] == 1:
            print("Bob")
        else:
            print("Alice")
0