結果

問題 No.1506 Unbalanced Pocky Game
ユーザー tpynerivertpyneriver
提出日時 2021-05-14 22:11:34
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 217 bytes
コンパイル時間 238 ms
コンパイル使用メモリ 82,368 KB
実行使用メモリ 104,776 KB
最終ジャッジ日時 2024-04-10 00:29:04
合計ジャッジ時間 5,634 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 34 ms
52,228 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 58 ms
83,008 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 50 ms
76,044 KB
testcase_09 WA -
testcase_10 AC 62 ms
88,212 KB
testcase_11 AC 46 ms
70,272 KB
testcase_12 WA -
testcase_13 AC 40 ms
64,744 KB
testcase_14 AC 47 ms
72,336 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 42 ms
68,624 KB
testcase_19 AC 41 ms
65,976 KB
testcase_20 AC 62 ms
91,748 KB
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 AC 34 ms
52,820 KB
testcase_25 WA -
testcase_26 WA -
testcase_27 AC 79 ms
103,508 KB
testcase_28 WA -
testcase_29 WA -
testcase_30 AC 126 ms
104,776 KB
testcase_31 WA -
testcase_32 WA -
testcase_33 AC 84 ms
104,620 KB
testcase_34 AC 123 ms
104,360 KB
testcase_35 AC 122 ms
104,480 KB
testcase_36 AC 34 ms
52,940 KB
testcase_37 AC 32 ms
52,004 KB
testcase_38 WA -
testcase_39 AC 34 ms
52,120 KB
testcase_40 AC 33 ms
52,352 KB
testcase_41 WA -
testcase_42 AC 34 ms
52,248 KB
testcase_43 AC 33 ms
52,296 KB
testcase_44 WA -
testcase_45 WA -
testcase_46 WA -
testcase_47 AC 48 ms
72,004 KB
testcase_48 AC 52 ms
73,500 KB
testcase_49 WA -
testcase_50 WA -
testcase_51 WA -
testcase_52 WA -
testcase_53 AC 82 ms
88,360 KB
testcase_54 AC 55 ms
76,096 KB
testcase_55 WA -
testcase_56 AC 43 ms
66,148 KB
testcase_57 AC 73 ms
84,348 KB
testcase_58 WA -
testcase_59 WA -
testcase_60 AC 52 ms
70,576 KB
testcase_61 WA -
testcase_62 AC 72 ms
81,752 KB
testcase_63 WA -
testcase_64 WA -
testcase_65 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
readline = sys.stdin.readline

N = int(readline())

A = list(map(int, readline().split()))

al = False
for a in A:
    if a == 1:
        al ^= 1
    else:
        al = True

print("ALice" if al else "Bob")
0