- 5

# Plz

Sara is trying a new type of game in which she can jump in either the left direction or in the right direction. Also after each jump the range of her jump increases by 1 unit. i.e if starts from 1 in the next jump she has to jump 2 units then 3 units and so on. Given the number of jumps as N, the range of the first jump to be 1. What will be the minimum distance Sara can be at from the starting point.

1 Answer

+ 7

Amit Singh ,
not quite clear what your problem / question is. but i assume that you expect that someone is going to do your job.
before we can help you, you should show us your attempt first. if you have not done a try by yourself upto now, please do so. Put your code in playground and link it here.
thanks!

Hot today

Задача 58.2

1 Votes

Decimal to Hex in C++

2 Votes

What i do wrong ?

0 Votes

Sololearn bug

1 Votes

Please rearrange int array:

0 Votes

Locked out by Rocket Icon

2 Votes