Compile Error

foo.cc: In function 'int main()':
foo.cc:5:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |         cin>>a;
      |         ^~~
      |         std::cin
iostream:60:18: note: 'std::cin' declared here
foo.cc:9:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    9 |     if(a>3)
      |     ^~
foo.cc:11:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   11 |         b=10+a*2.5;
      |         ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1027 出租车计价
语言
C++
递交时间
2023-12-16 19:04:24
评测时间
2023-12-16 19:04:24
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes