3 条题解

  • 1
    @ 2025-4-13 9:42:42
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        int n,x=1;
        
            cin>>n;
            for(int i=1;i<=n;i++){
                
                 for(int d=1;d<=n;d++){
                cout<<setw(3)<<x;
                x++;
              }
              cout<<endl;
            }
    
        }
    
    • -1
      @ 2025-4-12 16:30:52

      #include<bits/stdc++.h> using namespace std; int main(){ int n,x=1; cin>>n; for(int i=1;i<=n;i++){ for(int j=1;j<=n;j++){ cout<<setw(3)<<x; x++; } cout<<endl; } }

      • -1
        @ 2025-4-12 16:14:05

        ytdytctqtfcfytfysqytfcytfqywcdfytasfytcfytxsafcytfytarsdtcfytas

        • 1

        信息

        ID
        372
        时间
        1000ms
        内存
        16MiB
        难度
        6
        标签
        递交数
        158
        已通过
        55
        上传者