Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdlib>
- #include <ctime>
- long long int t[1000];
- int main()
- {
- srand(time (NULL));
- int n=rand()%10+1;
- for(int i=0;i<n;i++)
- {
- t[i]=rand()%20;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement