Getting wrong output for max xor pair

Please share the link of the problem as well

@Faizan-Ali-1395131367301898 please share the question as well