/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main(int, const char**)':
foo.cc:36:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d",&n,&k);
     ~~~~~^~~~~~~~~~~~~~
foo.cc:37:44: 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]),sum+=a[i];
                           ~~~~~~~~~~~~~~~~~^~~~~~~~~~

自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-05-30T04:46:19.763Z","handle":"2020-05-30T04:46:19.763Z","cache_start":"2020-05-30T04:46:19.769Z","read_cases":"2020-05-30T04:46:20.296Z","judge":"2020-05-30T04:46:20.300Z","done":"2020-05-30T04:46:21.262Z"}
# 状态 耗时 内存占用
#1 Accepted 1ms 452.0 KiB
#2 Accepted 1ms 416.0 KiB
#3 Accepted 1ms 640.0 KiB
#4 Accepted 1ms 640.0 KiB
#5 Accepted 6ms 2.289 MiB
#6 Accepted 10ms 3.137 MiB
#7 Accepted 31ms 8.02 MiB
#8 Accepted 56ms 22.516 MiB
#9 Accepted 136ms 22.461 MiB
#10 Accepted 155ms 22.512 MiB

信息

递交者
类型
递交
题目
P1451 圆环取数
语言
C++
递交时间
2020-05-30 12:46:19
评测时间
2020-05-30 12:46:19
评测机
分数
100
总耗时
402ms
峰值内存
22.516 MiB