結果

問題 No.1506 Unbalanced Pocky Game
ユーザー AAAR SalmonAAAR Salmon
提出日時 2021-05-14 22:32:55
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 320 bytes
コンパイル時間 129 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 19,776 KB
最終ジャッジ日時 2024-04-10 01:07:57
合計ジャッジ時間 4,620 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
10,880 KB
testcase_01 AC 28 ms
10,880 KB
testcase_02 AC 27 ms
10,752 KB
testcase_03 AC 31 ms
10,752 KB
testcase_04 WA -
testcase_05 AC 40 ms
12,468 KB
testcase_06 AC 36 ms
11,648 KB
testcase_07 AC 36 ms
11,392 KB
testcase_08 WA -
testcase_09 AC 43 ms
12,492 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 33 ms
11,520 KB
testcase_13 AC 30 ms
11,136 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 37 ms
12,612 KB
testcase_17 WA -
testcase_18 AC 30 ms
11,392 KB
testcase_19 AC 30 ms
11,264 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 36 ms
11,848 KB
testcase_23 AC 28 ms
10,752 KB
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 67 ms
19,512 KB
testcase_27 WA -
testcase_28 AC 64 ms
19,332 KB
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
testcase_34 WA -
testcase_35 AC 70 ms
19,452 KB
testcase_36 AC 29 ms
10,752 KB
testcase_37 WA -
testcase_38 AC 27 ms
10,880 KB
testcase_39 WA -
testcase_40 AC 28 ms
10,752 KB
testcase_41 WA -
testcase_42 AC 28 ms
10,880 KB
testcase_43 WA -
testcase_44 AC 28 ms
10,752 KB
testcase_45 AC 26 ms
10,752 KB
testcase_46 AC 40 ms
13,752 KB
testcase_47 WA -
testcase_48 AC 33 ms
12,124 KB
testcase_49 AC 45 ms
14,472 KB
testcase_50 WA -
testcase_51 AC 44 ms
14,180 KB
testcase_52 AC 40 ms
13,900 KB
testcase_53 AC 45 ms
14,916 KB
testcase_54 WA -
testcase_55 WA -
testcase_56 AC 32 ms
11,776 KB
testcase_57 AC 42 ms
14,288 KB
testcase_58 AC 33 ms
12,032 KB
testcase_59 AC 30 ms
11,392 KB
testcase_60 WA -
testcase_61 AC 40 ms
14,256 KB
testcase_62 AC 37 ms
13,544 KB
testcase_63 AC 35 ms
12,416 KB
testcase_64 AC 41 ms
14,188 KB
testcase_65 AC 36 ms
12,964 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
import math
from math import sin, cos, tan
from functools import reduce
from collections import deque
import heapq
sys.setrecursionlimit(1000000)
intm1 = lambda x:int(x)-1

N = int(input())

alice = True
for a in reversed(input().split()):
	if a != '1':
		alice = not alice
print('Alice' if alice else 'Bob')
0