結果
問題 | No.1506 Unbalanced Pocky Game |
ユーザー |
![]() |
提出日時 | 2021-05-14 22:17:28 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 125 ms / 2,000 ms |
コード長 | 186 bytes |
コンパイル時間 | 533 ms |
コンパイル使用メモリ | 12,800 KB |
実行使用メモリ | 24,320 KB |
最終ジャッジ日時 | 2024-10-02 01:42:57 |
合計ジャッジ時間 | 6,370 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 63 |
ソースコード
n = int(input()) A = list(map(int, input().split())) ans = 1 for a in A[1:]: if ans: if a == 1: ans = 0 else: ans = 1 print('Alice' if ans else 'Bob')