結果
問題 | No.1569 Nixoracci's Number |
ユーザー |
![]() |
提出日時 | 2021-09-07 22:39:04 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 44 ms / 2,000 ms |
コード長 | 147 bytes |
コンパイル時間 | 181 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-12-24 01:19:02 |
合計ジャッジ時間 | 1,996 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
N,K = map(int,input().split()) A = list(map(int,input().split())) Ax = A[0] for i in range(1, N): Ax ^= A[i] A.append(Ax) print(A[(K-1)%(N+1)])