啊啊啊,蒙了,求救
查看原帖
啊啊啊,蒙了,求救
1255744
crolinde楼主2025/2/6 15:40
#include <bits/stdc++.h>
using namespace std;
int n,c;

int main() {
	cin >> n;
	for (int i = 0; i < n; i++ ){
		for (int j = 0; j < n; j++) {
			c = i % 26;
			cout << (char)(c + 'A');
		}
		cout<<endl;
	}
	return 0;
}
2025/2/6 15:40
加载中...