博客园Markdown语法折叠代码块

语法:

写描述
 <details>
<summary>点击查看折叠代码块</summary>

</details>

我的代码实现

点击查看折叠代码块
#include <ctime>

//随机数种子,随着时间变化生成不同的随机数
srand((unsigned int)time(NULL));

int ret = rand % 100 + 50; //50 - 149
posted @ 2021-03-27 14:15  小帅博客  阅读(341)  评论(0编辑  收藏  举报