16 条题解

  • 1
    @ 2023-3-19 20:14:13
    //
    //	  @@@@@
    //   @@@@@
    //  @@@@@
    // @@@@@
    //@@@@@
    //
    //
    
    #include<iostream>
    //#include<iomanip>
    //#include<math.h>
    using namespace std;
    
    int n;
    
    int main(){
        cin >> n;
        for(int i = 1; i <= n; i++){
        for(int j = 1; j <= n - i; j++){
        	cout << " ";
    	    }
    	for(int j = 1; j <= n; j++){
        	cout << "@";
    	    }
    		cout << endl;	
        }
        return 0;
    }
    

    信息

    ID
    955
    时间
    1000ms
    内存
    128MiB
    难度
    5
    标签
    递交数
    709
    已通过
    278
    上传者