/ WanKu /

记录详情

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)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 8ms 256.0 KiB
#2 Accepted 8ms 256.0 KiB
#3 Accepted 11ms 256.0 KiB
#4 Accepted 8ms 256.0 KiB
#5 Accepted 10ms 256.0 KiB
#6 Accepted 7ms 256.0 KiB
#7 Accepted 7ms 256.0 KiB
#8 Accepted 13ms 256.0 KiB
#9 Accepted 13ms 256.0 KiB
#10 Accepted 12ms 256.0 KiB
#11 Accepted 12ms 256.0 KiB
#12 Accepted 12ms 256.0 KiB
#13 Accepted 10ms 256.0 KiB
#14 Accepted 14ms 292.0 KiB
#15 Accepted 10ms 256.0 KiB
#16 Accepted 11ms 256.0 KiB
#17 Accepted 6ms 256.0 KiB
#18 Accepted 6ms 256.0 KiB
#19 Accepted 9ms 256.0 KiB
#20 Accepted 45ms 256.0 KiB

信息

递交者
类型
递交
题目
P1005 每日一题-5 路径的最大总和
语言
C++
递交时间
2022-04-22 14:09:30
评测时间
2022-04-22 14:25:06
评测机
分数
100
总耗时
239ms
峰值内存
292.0 KiB