Accepted
foo.cc: In function 'int main()': foo.cc:5:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 5 | scanf("%d",&n); | ~~~~~^~~~~~~~~ foo.cc:8:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 8 | scanf("%d",&p),a[j]=max(a[j],a[j+1])+p; | ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1005 每日一题-5 路径的最大总和
- 语言
- C++
- 递交时间
- 2022-04-22 14:09:30
- 评测时间
- 2022-04-22 14:25:06
- 评测机
- 分数
- 100
- 总耗时
- 239ms
- 峰值内存
- 292.0 KiB