HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Problems from Olympiads.ru > problem:


234. 50249 - Ladders

Guest
• Discussion of problem (1)

Volume problems

• 127c. 50731 - The largest product (2)
• 138. 50732 - Sorting
• 147. 50251 - Symmetric matrix
• 213. 50769 - Arithmetic expression
• 217. 50253 - Timer
• 133. 50239 - Eating cheese
• 159. 50668 - Triangle
• 206. 50252 - Birthday
• 234. 50249 - Ladders
• 235. 50250 - The Knight
• 272. 50707 - Rebus
• 240. 50247 - Missing numbers
• 275. 50691 - The traveling salesma...

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb. Difficulty Beta

Ladder is a set of cubes in one or more layers in which each over the top layer contains fewer blocks than the bottom.

Count the number of ladders that can be built from N cubes.

Enter
At the entrance recorded the number N (1 ≤ N ≤ 100).
Output
Print the required number of ladders.

Input
3
Output
2

Для отправки решений необходимо выполнить вход.

www.contester.ru