12345678910111213141516171819
#include <iostream> #include <ctime> #include <random> #include <string> using namespace std; int main() { int X; time_t T; time (&T); srand(T); X = rand() % 11; cout << X << endl; }