結果
| 問題 |
No.2059 Odd Move Nim
|
| コンテスト | |
| ユーザー |
ytft
|
| 提出日時 | 2022-09-01 21:34:30 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 98 ms / 2,000 ms |
| コード長 | 174 bytes |
| コンパイル時間 | 372 ms |
| コンパイル使用メモリ | 82,108 KB |
| 実行使用メモリ | 102,104 KB |
| 最終ジャッジ日時 | 2024-11-14 13:22:06 |
| 合計ジャッジ時間 | 3,537 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 21 |
ソースコード
import sys input=lambda:sys.stdin.readline().rstrip() N=int(input()) A=list(map(int,input().split())) temp=0 for i in range(1,N,2): temp^=A[i] print(["Bob","Alice"][temp>0])
ytft