GATE2018-50
https://gateoverflow.in/204125/gate2018-50
Why can't I do this question with $(k+(n-1))*t_p$
For PO stage: $0.40*3 + 0.35*2 + 0.25*1 = 2.15$ cycles. This is larger than all the 5 stages of the given pipeline.
So applying the above formula it gives $(5+99)*2.15 =224$ cycles.
why we use the expanded form of the same formula $k*t_p+(n-1)t_p$ and get answer as $219$ cycles