結果

問題 No.1506 Unbalanced Pocky Game
ユーザー nrktnrkt
提出日時 2021-05-17 18:34:09
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 675 bytes
コンパイル時間 246 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 102,528 KB
最終ジャッジ日時 2024-04-16 07:14:01
合計ジャッジ時間 6,871 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 51 ms
54,016 KB
testcase_01 AC 51 ms
54,528 KB
testcase_02 AC 50 ms
54,272 KB
testcase_03 WA -
testcase_04 AC 76 ms
82,944 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 71 ms
76,416 KB
testcase_09 WA -
testcase_10 AC 82 ms
89,088 KB
testcase_11 AC 66 ms
71,936 KB
testcase_12 WA -
testcase_13 AC 58 ms
65,024 KB
testcase_14 AC 65 ms
71,680 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 61 ms
68,096 KB
testcase_19 AC 60 ms
66,176 KB
testcase_20 AC 83 ms
88,960 KB
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 52 ms
54,272 KB
testcase_24 AC 51 ms
54,016 KB
testcase_25 AC 91 ms
97,920 KB
testcase_26 AC 104 ms
102,016 KB
testcase_27 AC 104 ms
102,400 KB
testcase_28 WA -
testcase_29 AC 107 ms
101,888 KB
testcase_30 AC 104 ms
102,144 KB
testcase_31 WA -
testcase_32 AC 102 ms
102,400 KB
testcase_33 AC 103 ms
102,144 KB
testcase_34 AC 100 ms
101,504 KB
testcase_35 AC 102 ms
101,760 KB
testcase_36 AC 50 ms
54,144 KB
testcase_37 AC 49 ms
54,272 KB
testcase_38 AC 51 ms
54,656 KB
testcase_39 AC 50 ms
54,272 KB
testcase_40 AC 50 ms
54,144 KB
testcase_41 AC 50 ms
54,656 KB
testcase_42 AC 51 ms
54,272 KB
testcase_43 AC 51 ms
54,144 KB
testcase_44 AC 52 ms
54,400 KB
testcase_45 AC 50 ms
54,400 KB
testcase_46 AC 70 ms
74,752 KB
testcase_47 AC 59 ms
64,768 KB
testcase_48 AC 61 ms
66,432 KB
testcase_49 AC 72 ms
76,672 KB
testcase_50 AC 71 ms
74,624 KB
testcase_51 WA -
testcase_52 WA -
testcase_53 AC 77 ms
80,256 KB
testcase_54 AC 62 ms
67,456 KB
testcase_55 AC 60 ms
64,896 KB
testcase_56 AC 59 ms
64,896 KB
testcase_57 AC 70 ms
74,624 KB
testcase_58 AC 62 ms
64,384 KB
testcase_59 WA -
testcase_60 AC 64 ms
68,992 KB
testcase_61 WA -
testcase_62 AC 67 ms
71,424 KB
testcase_63 AC 64 ms
68,224 KB
testcase_64 AC 73 ms
76,288 KB
testcase_65 AC 64 ms
69,504 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3
 
import sys
import math
from bisect import bisect_right as br
from bisect import bisect_left as bl
sys.setrecursionlimit(2147483647)
from heapq import heappush, heappop,heappushpop
from collections import defaultdict
from itertools import accumulate, chain
from collections import Counter
from collections import deque
from operator import itemgetter
from itertools import permutations
mod = 10**9 + 7
inf = float('inf')
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))

n = I()
a = LI()
if n == 1:
    print("Alice")
else:
    if a[-1] == 1:
        print("Bob")
    else:
        print("Alice")
0