/ ep /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:20:17: warning: variable 'r' set but not used [-Wunused-but-set-variable]
         int l=0,r=1;
                 ^
foo.cc:16:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         int n; scanf("%d",&n);
                ~~~~~^~~~~~~~~
foo.cc:17:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         for(int i=1;i<=n;i++) scanf("%d",a+i);
                               ~~~~~^~~~~~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-07-20T08:47:25.703Z","handle":"2020-07-20T08:47:25.703Z","cache_start":"2020-07-20T08:47:25.710Z","read_cases":"2020-07-20T08:47:25.833Z","judge":"2020-07-20T08:47:25.834Z","done":"2020-07-20T08:47:27.152Z"}
# 状态 耗时 内存占用
#1 Accepted 7ms 4.43 MiB
#2 Accepted 7ms 4.43 MiB
#3 Accepted 7ms 4.426 MiB
#4 Accepted 9ms 4.426 MiB
#5 Accepted 8ms 4.43 MiB
#6 Accepted 8ms 4.43 MiB
#7 Accepted 18ms 4.801 MiB
#8 Accepted 19ms 4.801 MiB
#9 Accepted 18ms 4.801 MiB
#10 Accepted 24ms 5.051 MiB

信息

递交者
类型
递交
题目
P1000 序列最大区间和
语言
C++
递交时间
2020-07-20 16:47:25
评测时间
2020-07-20 16:47:25
评测机
分数
100
总耗时
130ms
峰值内存
5.051 MiB