All pastes #472937 Raw Edit

David

public cpp v1 · immutable
·published 2007-05-05 22:48 UTC
rendered paste body
#include <iostream>#include <cstdlib>using namespace std;int main() {    srand(time(NULL));    int x;    while (cin >> x) {        for (int i = 1; i <= x; ++i) {            if (i != 1) cout << " ";            cout << rand();        }        cout << endl;    }}