55
265
版主
#include<iostream> #include<cstdlib> #include<ctime> using namespace std; int main(){ int a; srand(time(0)); a=rand()%5; cout<<a; }
使用道具 举报
|山东智趣岛论坛 ( 鲁ICP备2023024048号 )
GMT+8, 2025-3-1 06:41 , Processed in 0.146999 second(s), 30 queries .
Powered by Discuz! X3.3 Licensed
Copyright © 2001-2020, Tencent Cloud.