ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1017. Staircases

Can some one explaib to me what does this problem mean?
Posted by Costel::icerapper@k.ro 22 Feb 2002 19:17
I can't understand... after me it's all about writing in different ways a sum, of strictly ordered values, like 6=1+5, 6=2+3, 6=1+2+3, like 6=3 ways... but i know i just understood wrong the problems... so how one optaines that output for 212 ?

pleaze
help.
Re: Can some one explaib to me what does this problem mean?
Posted by Stefan Ciobaca 23 Feb 2002 00:34
> I can't understand... after me it's all about writing in different
ways a sum, of strictly ordered values, like 6=1+5, 6=2+3, 6=1+2+3,
like 6=3 ways... but i know i just understood wrong the problems...
so how one optaines that output for 212 ?
>
> pleaze
> help.

You understood perfectly. You just have to count the number of
different ways to write a number as a sum of increasing numbers (more
than 2 numbers).