HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Arithmetic > problem:


50249 - Ladders

Guest
• Discussion of problem (1)

Section problems

• 50243 - Sum of digits
• 50241 - Greatest common divisor
• 50240 - The numbers that are divisi...
• 50242 - Numbers whose sum of the...
• 50248 - Power of two
• 50641 - Strong Prime Power
• 50249 - Ladders
• 50247 - Missing numbers
• 50267 - Interesting permutations
• 50640 - Cubes
• 50377 - kth Permutation
• 50341 - Separate Into Digits
• 50424 - Area
• 50335 - Five Math Operators
• 50299 - Median

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