Diferente pentru happy-coding-2007/solutii intre reviziile #51 si #52
Nu exista diferente intre titluri.
Diferente intre continut:
pentru j de la i la 1 cost_stocare = cost_stocare + S[j] * dtotal dtotal = dtotal + D[j]
cost_productie = F[j] + C[j]dtotal
cost_productie = F[j] + C[j] * dtotal
cost_total = cmin[j-1] + cost_productie + cost_stocare daca cost_total < cmin[i] atunci cmin[i]=cost_total