3 条题解

  • 1
    @ 2023-7-14 19:21:28
    #include <bits/stdc++.h>
    using namespace std;
    int main(){
        int n;
        cin >> n;
        for (int i = 1; i <= n; i++){
            for (int j = 1; j <= n; j++) cout << j;
            cout << "\n";
        }
    }
    
  • 0
    @ 2023-5-31 7:55:11
    #include <bits/stdc++.h>
    using namespace std;
    int n;
    int main()
    {
        cin >> n;
        for (int i = 1; i <= n; i++)
        {
            for (int j = 1; j <= n; j++)
            {
                cout << j;
            }
            cout << endl;
        }
        return 0;
    }
    
    • -1
      @ 2024-4-13 12:59:42
      using namespace std;
      int main() {  
          int n; cin >>n;
          for(int q=1;q<=n;q++){
      		for(int i=1;i<=n;i++){
      			cout << i;
      		}
      		cout <<endl;
      	}
          
          return 0;  
      }`
      
      • 1

      信息

      ID
      360
      时间
      1000ms
      内存
      16MiB
      难度
      1
      标签
      递交数
      72
      已通过
      58
      上传者