Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:6:29: error: 'Setprecision' was not declared in this scope cout<<fixed<<Setprecision(2)<<"C="<<a+b<<" S="<<a*b; ^ /in/foo.cc:7:6: warning: statement has no effect [-Wunused-value] cout; ^ /in/foo.cc:5:6: warning: unused variable 'c' [-Wunused-variable] int c,s,a,b;cin>>a>>b; ^ /in/foo.cc:5:8: warning: unused variable 's' [-Wunused-variable] int c,s,a,b;cin>>a>>b; ^
信息
- 递交者
- 类型
- 自测
- 题目
- P1684 计算长方形的半周长和面积
- 语言
- C++
- 递交时间
- 2024-03-01 18:38:53
- 评测时间
- 2024-03-01 18:38:53
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes