记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:16:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
    if(a[j])
      ^
foo.cc:10:29: 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("%lld",&s[i]);
                        ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 9ms 7.117 MiB
#2 Accepted 9ms 7.09 MiB
#3 Accepted 9ms 7.117 MiB
#4 Accepted 9ms 7.078 MiB
#5 Accepted 55ms 9.816 MiB
#6 Accepted 108ms 12.555 MiB
#7 Accepted 361ms 26.176 MiB
#8 Time Exceeded ≥1345ms ≥60.914 MiB
#9 Accepted 330ms 23.5 MiB
#10 Accepted 395ms 22.918 MiB

信息

递交者
类型
递交
题目
wyy的烦恼
题目数据
下载
语言
C++
递交时间
2021-11-27 14:01:13
评测时间
2021-11-27 14:05:03
评测机
分数
90
总耗时
≥2633ms
峰值内存
≥60.914 MiB