結果
問題 |
No.2059 Odd Move Nim
|
ユーザー |
![]() |
提出日時 | 2022-09-02 10:10:57 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 98 ms / 2,000 ms |
コード長 | 145 bytes |
コンパイル時間 | 308 ms |
コンパイル使用メモリ | 82,032 KB |
実行使用メモリ | 102,148 KB |
最終ジャッジ日時 | 2024-11-15 15:24:57 |
合計ジャッジ時間 | 3,034 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 21 |
ソースコード
N = int(input()) A = list(map(int,input().split())) tmp = 0 for a in A[1::2]: tmp ^= a if tmp == 0: print("Bob") else: print("Alice")