C++ 隨機數

#include<random> #include<iostream> #include<time.h> using namespace std; int main() {     default_random_engine dre;     dre.seed((unsigned)time(NULL));     int i = 10;     while(i--)cout << dre()%9
相關文章
相關標籤/搜索