結果
問題 |
No.2059 Odd Move Nim
|
ユーザー |
![]() |
提出日時 | 2025-02-11 20:14:20 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 109 ms / 2,000 ms |
コード長 | 171 bytes |
コンパイル時間 | 256 ms |
コンパイル使用メモリ | 81,888 KB |
実行使用メモリ | 102,240 KB |
最終ジャッジ日時 | 2025-02-11 20:14:24 |
合計ジャッジ時間 | 3,709 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 21 |
ソースコード
n=int(input()) a=list(map(int,input().split())) all_xor=0 for i in range(n): if i%2==1: all_xor^=a[i] if all_xor==0: print('Bob') else: print('Alice')