Compile Error

foo.cc: In function 'int main()':
foo.cc:4:5: error: 'cin' was not declared in this scope
    4 |     cin >> num;
      |     ^~~
foo.cc:11:9: error: 'cout' was not declared in this scope
   11 |         cout << "Yes" << endl;
      |         ^~~~
foo.cc:11:26: error: 'endl' was not declared in this scope
   11 |         cout << "Yes" << endl;
      |                          ^~~~
foo.cc:13:9: error: 'cout' was not declared in this scope
   13 |         cout << "No" << endl;
      |         ^~~~
foo.cc:13:25: error: 'endl' was not declared in this scope
   13 |         cout << "No" << endl;
      |                         ^~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1017 3位升序数
语言
C++
递交时间
2023-09-23 17:27:36
评测时间
2023-09-23 17:27:36
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes