結果
問題 | No.1082 XORのXOR |
ユーザー |
![]() |
提出日時 | 2022-11-04 20:56:11 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 65 ms / 2,000 ms |
コード長 | 159 bytes |
コンパイル時間 | 170 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 61,568 KB |
最終ジャッジ日時 | 2024-07-18 18:46:22 |
合計ジャッジ時間 | 3,138 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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(n): if i!=j: ans=max(ans,A[i]^A[j]) print(ans)