結果
問題 | No.1082 XORのXOR |
ユーザー |
|
提出日時 | 2021-03-13 17:50:08 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 58 ms / 2,000 ms |
コード長 | 158 bytes |
コンパイル時間 | 176 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 60,928 KB |
最終ジャッジ日時 | 2024-10-15 08:22:49 |
合計ジャッジ時間 | 3,224 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 29 |
ソースコード
N=int(input())A=list(map(int, input().split()))res=0for i in range(N):for j in range(i+1,N):a,b=A[i],A[j]res=max(res,a^b)print(res)