結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
54,272 KB
testcase_01 AC 63 ms
54,400 KB
testcase_02 AC 57 ms
54,144 KB
testcase_03 AC 66 ms
62,464 KB
testcase_04 WA -
testcase_05 AC 76 ms
86,912 KB
testcase_06 AC 67 ms
77,312 KB
testcase_07 AC 63 ms
72,320 KB
testcase_08 WA -
testcase_09 AC 77 ms
87,680 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 61 ms
71,168 KB
testcase_13 AC 58 ms
66,176 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 79 ms
88,192 KB
testcase_17 WA -
testcase_18 AC 61 ms
69,376 KB
testcase_19 AC 60 ms
67,840 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 71 ms
79,744 KB
testcase_23 AC 48 ms
54,144 KB
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 108 ms
104,704 KB
testcase_27 WA -
testcase_28 AC 107 ms
104,832 KB
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
testcase_34 WA -
testcase_35 AC 107 ms
104,960 KB
testcase_36 AC 47 ms
54,528 KB
testcase_37 WA -
testcase_38 AC 47 ms
54,400 KB
testcase_39 WA -
testcase_40 AC 47 ms
54,272 KB
testcase_41 WA -
testcase_42 AC 47 ms
54,400 KB
testcase_43 WA -
testcase_44 AC 49 ms
54,528 KB
testcase_45 AC 48 ms
54,144 KB
testcase_46 AC 71 ms
76,416 KB
testcase_47 WA -
testcase_48 AC 63 ms
67,968 KB
testcase_49 AC 76 ms
78,592 KB
testcase_50 WA -
testcase_51 AC 76 ms
78,976 KB
testcase_52 AC 71 ms
74,624 KB
testcase_53 AC 78 ms
82,304 KB
testcase_54 WA -
testcase_55 WA -
testcase_56 AC 62 ms
67,200 KB
testcase_57 AC 75 ms
76,288 KB
testcase_58 AC 61 ms
66,688 KB
testcase_59 AC 60 ms
64,384 KB
testcase_60 WA -
testcase_61 AC 72 ms
76,544 KB
testcase_62 AC 68 ms
73,344 KB
testcase_63 AC 71 ms
69,760 KB
testcase_64 AC 75 ms
78,336 KB
testcase_65 AC 67 ms
71,168 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