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)提供评测服务