Sort:  
 2 years ago 

int k=(rand()%101) * (rand()%101) * (rand()%101)+500;
thanks, I fixed it - it should have been like that