結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 47 ms
54,016 KB
testcase_01 AC 52 ms
54,400 KB
testcase_02 AC 48 ms
54,528 KB
testcase_03 AC 55 ms
62,336 KB
testcase_04 WA -
testcase_05 AC 77 ms
86,784 KB
testcase_06 AC 71 ms
77,440 KB
testcase_07 AC 64 ms
72,064 KB
testcase_08 WA -
testcase_09 AC 78 ms
87,552 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 63 ms
71,296 KB
testcase_13 AC 60 ms
66,560 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 81 ms
87,680 KB
testcase_17 WA -
testcase_18 AC 64 ms
69,120 KB
testcase_19 AC 61 ms
67,328 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 72 ms
79,616 KB
testcase_23 AC 48 ms
54,272 KB
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 110 ms
105,216 KB
testcase_27 WA -
testcase_28 AC 108 ms
105,088 KB
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
testcase_34 WA -
testcase_35 AC 109 ms
105,216 KB
testcase_36 AC 49 ms
54,272 KB
testcase_37 WA -
testcase_38 AC 50 ms
54,272 KB
testcase_39 WA -
testcase_40 AC 48 ms
54,400 KB
testcase_41 WA -
testcase_42 AC 48 ms
54,144 KB
testcase_43 WA -
testcase_44 AC 48 ms
54,400 KB
testcase_45 AC 48 ms
54,400 KB
testcase_46 AC 73 ms
76,544 KB
testcase_47 WA -
testcase_48 AC 63 ms
68,096 KB
testcase_49 AC 74 ms
78,336 KB
testcase_50 WA -
testcase_51 AC 77 ms
78,976 KB
testcase_52 AC 70 ms
75,136 KB
testcase_53 AC 81 ms
82,176 KB
testcase_54 WA -
testcase_55 WA -
testcase_56 AC 62 ms
67,200 KB
testcase_57 AC 72 ms
76,544 KB
testcase_58 AC 61 ms
66,048 KB
testcase_59 AC 59 ms
64,768 KB
testcase_60 WA -
testcase_61 AC 73 ms
76,544 KB
testcase_62 AC 73 ms
73,472 KB
testcase_63 AC 66 ms
69,632 KB
testcase_64 AC 75 ms
78,208 KB
testcase_65 AC 67 ms
70,784 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()
f = True
for i in range(n):
    if a[i] == 1:
        f = not f
    f = not f
if f:
    print("Alice")
else:
    print("Bob")
0