Help me in solving SUMARRAY problem

My issue

are repetitive values allowed? like for input
1
6 21

answer-> 4 3 4 3 4 3
is this allowed?

Problem Link: SUMARRAY Problem - CodeChef

@bipin28899
yes repeated values are allowed.

They didn’t mention about any repeated values so you can use them without any doubt