摘要:
#include <iostream> #include <cstdlib> #include <ctime> using namespace std; int main() { srand(time(0)); int a=rand()%5+1; int b; cin>>b; if(a==b){ c 阅读全文
摘要:
#include <iostream> #include <cstdlib> #include <ctime> using namespace std; int main() { int index=1; srand(time(0)); int num=rand()%100; int a; do{ 阅读全文