跳到正文

个人记录

Loading专属界面

XieMuzhu约 1 分钟
原文
文章信息与版本

文章信息

发布
2026年7月13日
收录
2026年7月15日
更新
2026年8月26日
篇幅
约 1 分钟

版本

  1. v1当前
C++
srand(time(0));
	int x = rand() % 10 + 10;
	while(true){
		if(x >= 89 && x < 100){
			x++;
			if(x == 91 || x == 94 || x == 97) continue;
			cout << "正在生成中,已加载%" << x << '\n';
			Sleep(rand() % 9 + 1);
			system("cls");
		}
		if(x >= 100){
			cout << "成绩单加载成功!";
			Sleep(1000);
			system("cls");
			break;
		}
		x += rand() % 15 + 1;
		cout << "正在生成中,已加载%" << x << '\n';
		Sleep(2000);
		system("cls");
	}
原文