Compile Error
foo.cc: In function 'int main()': foo.cc:8:9: error: cannot convert 'float' to 'const char*' 8 | printf (sum); | ^~~ | | | float In file included from foo.cc:1: /nix/store/y8wfrgk7br5rfz4221lfb9v8w3n0cnyd-glibc-2.37-8-dev/include/stdio.h:356:43: note: initializing argument 1 of 'int printf(const char*, ...)' 356 | extern int printf (const char *__restrict __format, ...); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1004 求课程的综合成绩。
- 语言
- C++
- 递交时间
- 2023-11-02 20:53:57
- 评测时间
- 2023-11-02 20:53:57
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes