+ 13
#include <cstdlib> #include <ctime> #include <iostream> int main(){ srand((unsigned)time(0)); int n = 10; for (int i = 0; i < n ; ++i) std::cout << rand() % 6 << std::endl; }
27th Sep 2017, 1:20 PM
Babak
Babak - avatar