#include # include using namespace std; int main() { int a[100]; srand(300); for ( int k = 0; k < 100; ++k){ a[k] = 10*k + rand()%10; } }