建议降红
查看原帖
建议降红
1152799
wsy_I楼主2024/12/8 15:38

rt,本题没有任何思维难度,代码也才十几行,非常简单。

#include<bits/stdc++.h>
using namespace std;
int a,b;
int main()
{
	ios::sync_with_stdio(0);
	cin.tie(0); cout.tie(0);
	srand(time(0));
	cin>>a>>b;
	int s;
	for(int i=1;i<=b;i++){
		int x=15;
		for(int i=1;i<=x;i++) cout<<char(rand()%26+97);
		cout<<" "; 
	}
	return 0;
}
//(#^v^)~(wsy防伪标签)
2024/12/8 15:38
加载中...