Accepted
foo.cc: In function 'int main()': foo.cc:10:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 10 | scanf("%d",&n); | ~~~~~^~~~~~~~~ foo.cc:13:3: warning: 's' is used uninitialized in this function [-Wuninitialized] 13 | s+=(float)a/b; | ~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1054 数列求和
- 语言
- C++
- 递交时间
- 2021-12-18 13:12:52
- 评测时间
- 2021-12-18 13:12:52
- 评测机
- 分数
- 100
- 总耗时
- 8ms
- 峰值内存
- 512.0 KiB