Run id: 158843
Main.cc:1:1: error: 'include' does not name a type
include
^
Main.cc: In function 'int main()':
Main.cc:7:12: error: 'cin' was not declared in this scope
while (cin >> n) //多组输入
^
Main.cc:14:17: error: 'cout' was not declared in this scope
cout << ' ';
^
Main.cc:17:17: error: 'cout' was not declared in this scope
cout << j;
^
Main.cc:20:17: error: 'cout' was not declared in this scope
cout << j;
^
Main.cc:21:13: error: 'cout' was not declared in this scope
cout << endl;
^
Main.cc:21:21: error: 'endl' was not declared in this scope
cout << endl;
^
Main.cc:27:17: error: 'cout' was not declared in this scope
cout << ' ';
^
Main.cc:29:17: error: 'cout' was not declared in this scope
cout << j;
^
Main.cc:31:17: error: 'cout' was not declared in this scope
cout << j;
^
Main.cc:32:13: error: 'cout' was not declared in this scope
cout << endl;
^
Main.cc:32:21: error: 'endl' was not declared in this scope
cout << endl;
^