Compile Error
foo.cc: In function 'int main()': foo.cc:5:14: error: 'cin' was not declared in this scope 5 | double a;cin>>a;int k;cin>>k; | ^~~ foo.cc:6:19: warning: unknown conversion type character 'k' in format [-Wformat=] 6 | printf("%.kf",a); | ^ foo.cc:6:16: warning: too many arguments for format [-Wformat-extra-args] 6 | printf("%.kf",a); | ^~~~~~
信息
- 递交者
- 类型
- 自测
- 题目
- P1305 B. Round Decimal
- 语言
- C++
- 递交时间
- 2024-03-19 17:15:48
- 评测时间
- 2024-03-19 17:15:48
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes