0_0_38872525_28714.cpp: In function 'int main()':
0_0_38872525_28714.cpp:4:9: error: 'cout' was not declared in this scope
4 | cout << "请输入一个正整数:" << endl;
| ^~~~
0_0_38872525_28714.cpp:4:40: error: 'endl' was not declared in this scope
4 | cout << "请输入一个正整数:" << endl;
| ^~~~
0_0_38872525_28714.cpp:5:15: error: 'cin' was not declared in this scope
5 | for (;cin >> n;)
| ^~~
|