PM me pseudo code for ur approach i ll see if can find something...
also if u have done gears problem even partial then help me with that
can u please help me with gears problem??
yes i am doing same...tle for second subtask
working on ur code for NSA!!
@blackmamba done NMNMX thanks for all help and support
Use global array to pre-calculate all combinations first then continue with the rest
@wasp what was the problem??