結果
| 問題 | No.1569 Nixoracci's Number |
| コンテスト | |
| ユーザー |
SidewaysOwl
|
| 提出日時 | 2021-10-17 07:16:16 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 65 ms / 2,000 ms |
| + 960µs | |
| コード長 | 151 bytes |
| 記録 | |
| コンパイル時間 | 239 ms |
| コンパイル使用メモリ | 96,236 KB |
| 実行使用メモリ | 78,976 KB |
| 最終ジャッジ日時 | 2026-08-29 19:10:19 |
| 合計ジャッジ時間 | 3,364 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
n,k = map(int,input().split())
a = list(map(int,input().split()))
a_xor = 0
for i in range(n):
a_xor ^= a[i]
a.append(a_xor)
print(a[k % (n+1)-1])
SidewaysOwl