Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:3:5: error: 'cin' was not declared in this scope
     cin >> m >> n;
     ^~~
/in/foo.cc:9:13: error: 'cout' was not declared in this scope
             cout << " ";
             ^~~~
/in/foo.cc:12:13: error: 'cout' was not declared in this scope
             cout << "*";
             ^~~~
/in/foo.cc:16:17: error: 'cout' was not declared in this scope
                 cout << " ";
                 ^~~~
/in/foo.cc:19:17: error: 'cout' was not declared in this scope
                 cout << "*";
                 ^~~~
/in/foo.cc:22:9: error: 'cout' was not declared in this scope
         cout << endl;
         ^~~~
/in/foo.cc:22:17: error: 'endl' was not declared in this scope
         cout << endl;
                 ^~~~

信息

递交者
类型
递交
题目
P1052 *组成的图形(4)
语言
C++
递交时间
2023-10-02 14:06:03
评测时间
2023-10-02 14:06:03
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes