C语言考试练习题_打印数字图形

Time Limit
1s
Memory Limit
32768KB
Judge Program
Standard
Ratio(Solve/Submit)
57.16%(870/1522)
Description:

从键盘输入一个整数n(1≤n≤9),打印出指定的数字图形

Input:

正整数n(1≤n≤9)。

Output:

指定数字图形。

Sample Input:
5
Sample Output:
    1
   121
  12321
 1234321
123454321
 1234321
  12321
   121
    1
Source:

信息学院07&08学年第二学期C语言上机考试


Submit