Nuclear reactors easy Section problem

Can anyone please tell me what I’m doing wrong? CodeChef: Practical coding for everyone
I’ve been trying this problem for days and I’m not able to correct it. Thanks for any help!!

Can you please explain what have you done in solution?