WA哪里错了,样例是对的
查看原帖
WA哪里错了,样例是对的
1793349
Kreay123666楼主2025/7/8 11:23
#include <bits/stdc++.h>
using namespace std;
int main(){
    int n;
    cin>>n;
    char j=65;
    for(int i=0;i<n;i++){
        for(int k=0;k<n;k++){
            cout<<j;
            j+=1;
        }
        j-=n-1;
        cout<<endl;
    }    
    return 0;
}
2025/7/8 11:23
加载中...