A Confusing problem aboud F Magnets last night.
I came up an almost the same idea as the solution. The only difference is that I query &i&,&i&
108735158
submission
Colin X Sam X Shayan | Easy Problems Duel | NAC Warmup #1
Codeforces Round 946 Solution Discussion