提交时间:2019-10-18 20:36:18
运行 ID: 1684
#include<iostream> int main(){ int N,i=1,j=1; scanf("%d",&N); while(i<=N){ while(j<=(i-1)){ printf(" "); j++; } j=1; while(j<=((N-i)*2+1)){ printf("#"); j++; } printf("\n"); i++; j=1; } return 0; }