Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- #include <ctime>
- using namespace std;
- int main(){
- int N;
- cin >> N;
- srand(time(NULL));
- for(int i=0;i<N;i++) cout << rand() % 32767 << " ";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement