跳到正文

科技·工程

智能写作

java_death约 2 分钟
原文

这是 2025年10月5日 存档的第 1 版,不是当前版本。查看当前版本

文章信息与版本

文章信息

发布
2025年10月5日
收录
2025年12月12日
更新
2026年11月9日
篇幅
约 2 分钟

版本

  1. v2当前
  2. v1
C++
#include <bits/stdc++.h>
using namespace std;
string S[100]={"我","你","他","她","它","我们","你们","他们"};
string Vt[100]={"吃","喝","喜欢","讨厌"}; 
string Vi[100]={"尿"};
string title;
string* getChineseExplainerInfo(string word);
string* getNextWordChanceList();
string* getSentenceByLastsentenceAndTitle(string* Words);
size_t s,vt,vi;
void wait(){
	for(int i=1;i<=1e7;i++)cout<<"";
}
void getAllSize(){
	size_t i;
	for(i=0;S[i]!="";i++);
	s=i;
	for(i=0;Vt[i]!="";i++);
	vt=i;
	for(i=0;Vi[i]!="";i++);
	vi=i;
}
string Generate(){
	getAllSize();
	srand(time(NULL));
	for(int i=1;i<=10;i++){
		int x=rand()%s,y=rand()%vt,z=rand()%s;
		cout<<S[x];wait();
		cout<<Vt[y];wait();
		cout<<S[z]<<(i!=10?",":"。");wait();
	}
}
int main(){
	printf("请输入文章标题: ");
	cin>>title;
	Generate();
	return 0;
	
}