u/Electronic-Media-205

i gave recent DIv3 contest was able to solve A, B, C. then i tried to upsolve D but couldn't got any logic. saw tutorial understood the problem and how to solve.
but what i am missing? i dont know how to come up with that solution in contest? should i learn new topics or something?

reddit.com
u/Electronic-Media-205 — 13 days ago