結果
問題 | No.1082 XORのXOR |
ユーザー |
|
提出日時 | 2023-11-15 23:21:57 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 65 ms / 2,000 ms |
コード長 | 290 bytes |
コンパイル時間 | 189 ms |
コンパイル使用メモリ | 81,664 KB |
実行使用メモリ | 64,768 KB |
最終ジャッジ日時 | 2024-09-26 04:54:34 |
合計ジャッジ時間 | 3,306 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 29 |
ソースコード
from collections import * from itertools import * from functools import * from heapq import * import sys,math N = int(input()) A = list(map(int,input().split())) ans = 0 for i in range(N-1): ai = A[i] for j in range(i+1,N): aj = A[j] ans = max(ans,ai^aj) print(ans)