Pro.ID22859 TitleTriangular Design 忽略本题 Title链接http://10.20.2.8/oj/exercise/problem?problem_id=22859 AC10 Submit63 Ratio15.87% 时间&空间限制描述这题太简单,所以不要做了。 The triangle below is generated by a certain algorithm. Discover the algorithm and use it to write a program which will generate triangles using the algorithm given inputs from 1 through 20. Your program must compute the output -- don't just print the answers. Note that '0' follows '9' for this algorithm. 输入A single line with an integer. 输出Description 这题太简单,所以不要做了。 The triangle below is generated by a certain algorithm. Discover the algorithm and use it to write a program which will generate triangles using the algorithm given inputs from 1 through 20. Your program must compute the output -- don't just print the answers. Note that '0' follows '9' for this algorithm. Input A single line with an integer. Output A number triangle printed with no blanks as shown below. Sample Input 7 Sample Output 1 Hint 请忽略本题 Source 样例输入7 样例输出1 提示请忽略本题 |