Time Limit: 1000 ms Memory Limit: 65536 KiB
Problem Description
用基本输出语句打印以下图形:
Input
本题目没有输入数据
Output
输出图形由6行组成,第1行有1个#号,第i行有连续的i个#号:
Sample Input
Sample Output
Hint
Source
#include <stdio.h>
#include <stdlib.h>
int main ()
{
printf("#\n##\n###\n####\n#####\n######\n"); //"\n"表示换行
return 0;
}
运行结果:
#
##
###
####
#####
######
Process returned 0 (0x0) execution time : 0.141 s
Press any key to continue.