結果
問題 |
No.2059 Odd Move Nim
|
ユーザー |
|
提出日時 | 2022-09-19 18:07:52 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 153 bytes |
コンパイル時間 | 342 ms |
コンパイル使用メモリ | 82,312 KB |
実行使用メモリ | 102,144 KB |
最終ジャッジ日時 | 2024-12-22 02:33:14 |
合計ジャッジ時間 | 2,896 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 17 WA * 4 |
ソースコード
n = int(input()) a = list(map(int,input().split())) now = 0 for i in range(1, n): now += a[i]*i if now % 2 == 1: print("Alice") else: print("Bob")