Problem 3514 · Medium
Collect the distinct pair XORs, then XOR each with every value to count the distinct triple XORs.
Open the interactive visualisation