Compile Error

foo.cc: In function 'int main()':
foo.cc:3:5: error: 'cin' was not declared in this scope
    3 |     cin >> m >> n;
      |     ^~~
foo.cc:9:13: error: 'cout' was not declared in this scope
    9 |             cout << " ";
      |             ^~~~
foo.cc:12:13: error: 'cout' was not declared in this scope
   12 |             cout << "*";
      |             ^~~~
foo.cc:16:17: error: 'cout' was not declared in this scope
   16 |                 cout << " ";
      |                 ^~~~
foo.cc:19:17: error: 'cout' was not declared in this scope
   19 |                 cout << "*";
      |                 ^~~~
foo.cc:22:9: error: 'cout' was not declared in this scope
   22 |         cout << endl;
      |         ^~~~
foo.cc:22:17: error: 'endl' was not declared in this scope
   22 |         cout << endl;
      |                 ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

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