Help with the output

Please help me understand the output for UNITGCD problem from days = 6 to days = 10.

I’m not asking for hints, dear coders. I’m asking what will the output to figure out the logic.

Any help is appreciated. But markdown isn’t.
Thank you.

You have to figure it out yourself.
There are sample test case explanation you can refer to that

Giving you the output will reveal the question itself, try try try.

1 Like

I figured it out myself.

Now I’m going for the logic.

Thank you.

1 Like