Q : CodeChef: Practical coding for everyone
AC Solution : CodeChef: Practical coding for everyone
1
14
13 13 13 13 13 13 13 13 13 13 13 13 13 13
1 2 3 4 5 1 2 3 4 5 1 1 1 1
Output : 0 1 2 3 4 0 0 0 0 0 1 2 3 4
Correct Output : 0 0 0 0 0 1 2 3 4 0 1 2 3 4
UPD : Sorry I read question wrong