#include<stdlib.h> #include<time.h> #include <iostream> #include <cstring> #include <algorithm> using namespace std; int main() { srand(time(NULL)); printf("%d",rand()%1000); return 0; }