結果

問題 No.1506 Unbalanced Pocky Game
ユーザー AAAR SalmonAAAR Salmon
提出日時 2021-05-14 22:59:59
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 163 bytes
コンパイル時間 132 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 20,724 KB
最終ジャッジ日時 2024-04-10 02:18:10
合計ジャッジ時間 5,010 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
10,624 KB
testcase_01 AC 31 ms
10,496 KB
testcase_02 AC 31 ms
10,624 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 34 ms
11,008 KB
testcase_14 AC 38 ms
11,648 KB
testcase_15 AC 35 ms
11,392 KB
testcase_16 AC 50 ms
12,424 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 38 ms
11,392 KB
testcase_22 AC 43 ms
11,776 KB
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 72 ms
19,424 KB
testcase_27 AC 70 ms
20,720 KB
testcase_28 AC 70 ms
20,236 KB
testcase_29 WA -
testcase_30 AC 72 ms
20,588 KB
testcase_31 WA -
testcase_32 AC 70 ms
19,296 KB
testcase_33 AC 70 ms
19,300 KB
testcase_34 AC 70 ms
19,140 KB
testcase_35 WA -
testcase_36 WA -
testcase_37 AC 29 ms
10,624 KB
testcase_38 WA -
testcase_39 WA -
testcase_40 WA -
testcase_41 AC 30 ms
10,624 KB
testcase_42 AC 29 ms
10,624 KB
testcase_43 WA -
testcase_44 AC 29 ms
10,624 KB
testcase_45 AC 30 ms
10,624 KB
testcase_46 AC 44 ms
13,560 KB
testcase_47 WA -
testcase_48 WA -
testcase_49 WA -
testcase_50 WA -
testcase_51 AC 47 ms
14,000 KB
testcase_52 AC 42 ms
13,972 KB
testcase_53 WA -
testcase_54 AC 36 ms
12,088 KB
testcase_55 AC 34 ms
11,776 KB
testcase_56 AC 33 ms
11,648 KB
testcase_57 AC 44 ms
14,460 KB
testcase_58 WA -
testcase_59 AC 32 ms
11,264 KB
testcase_60 WA -
testcase_61 AC 43 ms
13,916 KB
testcase_62 WA -
testcase_63 AC 38 ms
12,416 KB
testcase_64 AC 45 ms
13,996 KB
testcase_65 AC 39 ms
12,744 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

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