Did you pick up all the cherries? You can watch my attempt on this problem during a contest here - kzbin.info/www/bejne/aam4oIB_iLd3adU
@parakhchaudhary74538 ай бұрын
Today's problem is this same one but since you haven't done it yet today I came here to see it XD
@bismeetsingh3523 жыл бұрын
if c1==c2, why does c1 always take the cherry?
@Algorithmist3 жыл бұрын
They share the same spot, so you only count the cherry once.
@bismeetsingh3523 жыл бұрын
@@Algorithmist Correct, but doesn't it matter, which of them takes it, like in cherry pickup 1, the move from top to bottom would affect the outcome going back up.
@Algorithmist3 жыл бұрын
@@bismeetsingh352 you only care about the total, so no, as long as one of the robots pick it up.. it's is equivalent.