結果
| 問題 | No.1569 Nixoracci's Number |
| コンテスト | |
| ユーザー |
ntuda
|
| 提出日時 | 2021-09-07 22:39:04 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 35 ms / 2,000 ms |
| + 41µs | |
| コード長 | 147 bytes |
| 記録 | |
| コンパイル時間 | 85 ms |
| コンパイル使用メモリ | 64,736 KB |
| 実行使用メモリ | 53,548 KB |
| 最終ジャッジ日時 | 2026-10-16 21:22:52 |
| 合計ジャッジ時間 | 2,412 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
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)])
ntuda