結果
問題 |
No.1082 XORのXOR
|
ユーザー |
![]() |
提出日時 | 2023-01-03 18:31:22 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 55 ms / 2,000 ms |
コード長 | 154 bytes |
コンパイル時間 | 156 ms |
コンパイル使用メモリ | 82,068 KB |
実行使用メモリ | 61,056 KB |
最終ジャッジ日時 | 2024-11-27 02:22:26 |
合計ジャッジ時間 | 2,933 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 29 |
ソースコード
N = int(input()) A = list(map(int, input().split())) ans = 0 for i in range(N): for j in range(i + 1, N): ans = max(ans, A[i]^A[j]) print(ans)