Sort:  
 3 months ago 

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