Compile Error

foo.cc: In function 'int main()':
foo.cc:4:9: error: 'cin' was not declared in this scope
    4 |         cin>>a;
      |         ^~~
foo.cc:6:9: error: 'cout' was not declared in this scope
    6 |         cout<<fixed<<setprecision(1)<<g<<endl;
      |         ^~~~
foo.cc:6:15: error: 'fixed' was not declared in this scope
    6 |         cout<<fixed<<setprecision(1)<<g<<endl;
      |               ^~~~~
foo.cc:6:22: error: 'setprecision' was not declared in this scope
    6 |         cout<<fixed<<setprecision(1)<<g<<endl;
      |                      ^~~~~~~~~~~~
foo.cc:6:42: error: 'endl' was not declared in this scope
    6 |         cout<<fixed<<setprecision(1)<<g<<endl;
      |                                          ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1008 温度转换
语言
C++
递交时间
2023-11-01 21:54:31
评测时间
2023-11-01 21:54:31
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes