文件名称:jiafa
介绍说明--下载内容均来自于网络,请自行研究使用
题目描述:
一个正整数有可能可以被表示为n(n>=2)个连续正整数之和,如:
15=1+2+3+4+5
15=4+5+6
15=7+8
请编写程序,根据输入的任何一个正整数,找出符合这种要求的所有连续正整数序列。
输入数据:一个正整数,以命令行参数的形式提供给程序。-Title Descr iption: There may be a positive integer can be expressed as n (n> = 2) months of consecutive positive integers and, for example: 15 = 1+2+3+4+5 15 = 4+5+6 15 = 7+ 8 requested the preparation of procedures, in accordance with the importation of any positive integer, in line with such a request to identify all the sequence of consecutive positive integers. Input data: a positive integer to the command line parameters to the procedures provided in the form.
一个正整数有可能可以被表示为n(n>=2)个连续正整数之和,如:
15=1+2+3+4+5
15=4+5+6
15=7+8
请编写程序,根据输入的任何一个正整数,找出符合这种要求的所有连续正整数序列。
输入数据:一个正整数,以命令行参数的形式提供给程序。-Title Descr iption: There may be a positive integer can be expressed as n (n> = 2) months of consecutive positive integers and, for example: 15 = 1+2+3+4+5 15 = 4+5+6 15 = 7+ 8 requested the preparation of procedures, in accordance with the importation of any positive integer, in line with such a request to identify all the sequence of consecutive positive integers. Input data: a positive integer to the command line parameters to the procedures provided in the form.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
jiafa.txt