#include <iostream>
#include <cstdlib> // 用于 rand() 和 srand()
#include <ctime> // 用于 time()
using namespace std;
int main() {
// 每次运行程序获取不同的随机数
srand(time(0));
// 生成 0 到 100 之间的随机数
int randomNum = rand() % 101;
cout << randomNum;
return 0;
}