1566 - Cannon Balls

Discussion around the problems of the COJ.
Forum rules
Remember that posting AC code is not allowed here. If you are going to ask a question or to post a solution, describe your algorithm instead. Posting AC code will be penalized.
Post Reply
User avatar
dovier
Posts: 1143
Joined: 8 years ago
Location: Havana, Cuba
Gender: Male
Cuba

1566 - Cannon Balls

Post by dovier » 7 years ago




axlluis
Posts: 17
Joined: 7 years ago
Gender: None specified

Re: 1566 - Cannon Balls

Post by axlluis » 7 years ago

for N=3 an N=4 what output value will return?

george
Posts: 43
Joined: 8 years ago
Gender: None specified

Re: 1566 - Cannon Balls

Post by george » 7 years ago

n -> 3 = 14
n-> 4 = 30

axlluis
Posts: 17
Joined: 7 years ago
Gender: None specified

Re: 1566 - Cannon Balls

Post by axlluis » 7 years ago

Thanks a lot i resolve my error.

Post Reply

Return to “Problem set”