Main.cc: In function 'int main()':
Main.cc:7:12: error: 'cin' was not declared in this scope
while (cin >> N)
^
Main.cc:17:21: error: 'cout' was not declared in this scope
cout << " ";
^
Main.cc:18:17: error: 'cout' was not declared in this scope
cout << s;
^
Main.cc:22:9: error: 'cout' was not declared in this scope
cout << endl;
^
Main.cc:22:17: error: 'endl' was not declared in this scope
cout << endl;
^