2 条题解

  • 0
    @ 2024-10-4 16:53:44
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
    	int a,b,c=0;
    	cin>>a;
    	for(int i=-a;i<a-c;i++){
    		for(int j=abs(i)-a;j<a-c;j++){
    			cout<<abs(j)<<" ";
    		}
    		c+=1;
    		cout<<endl;
    	}
    	return 0;
    }
    

    抄的和复制的都是zcrzcr

    信息

    ID
    127
    时间
    1000ms
    内存
    256MiB
    难度
    9
    标签
    递交数
    10
    已通过
    9
    上传者