結果
| 問題 |
No.1506 Unbalanced Pocky Game
|
| コンテスト | |
| ユーザー |
AAAR Salmon
|
| 提出日時 | 2021-05-14 22:32:55 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 320 bytes |
| コンパイル時間 | 312 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 19,768 KB |
| 最終ジャッジ日時 | 2024-10-02 02:20:35 |
| 合計ジャッジ時間 | 5,109 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 36 WA * 27 |
ソースコード
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')
AAAR Salmon