提交时间:2019-10-19 22:01:11
运行 ID: 1776
#include<iostream> int main(){ int a,i=0,m,n; scanf("%d",&a); i=a; while(i>=1){ m=1; while(m<=a-i){ printf(" "); m=m+1; } n=1; while(n<=i*2-1){ printf("#"); n=n+1; } i=i-1; printf("\n");//dfsfajsshdfjakdhfkjlfhadskljfhsdkjlfhlsk } return 0; }