提交时间:2019-10-13 21:12:02
运行 ID: 1590
#include<iostream> int main(){ int a=1,b=0,c=1,d; scanf("%d",&d); while(a<=d){ while(b<c-1){ printf(" "); b++; } while(c<=d*2-a*2+1){ printf("#"); c++; } b=0; c=1; a++; printf("\n"); } }