Compile Error
foo.cc: In function 'int main()': foo.cc:16:20: error: unable to find string literal operator 'operator""sum' with 'const char [5]', 'long unsigned int' arguments 16 | sum=sum/numprintf("%.2d"sum); | ^~~~~~~~~ foo.cc:16:10: error: 'numprintf' was not declared in this scope; did you mean 'dprintf'? 16 | sum=sum/numprintf("%.2d"sum); | ^~~~~~~~~ | dprintf foo.cc:8:8: warning: unused variable 'b' [-Wunused-variable] 8 | int i,b=100,num,sum; | ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1059 数组元素平均值
- 语言
- C++
- 递交时间
- 2022-01-28 20:37:03
- 评测时间
- 2022-01-28 20:37:03
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes