记录详情

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.109 MiB
#2 Accepted 10ms 7.148 MiB
#3 Accepted 10ms 7.082 MiB
#4 Accepted 9ms 7.121 MiB
#5 Accepted 57ms 11.133 MiB
#6 Accepted 110ms 15.523 MiB
#7 Accepted 371ms 30.637 MiB
#8 Time Exceeded ≥1103ms ≥73.949 MiB
#9 Accepted 316ms 27.688 MiB
#10 Accepted 378ms 31.406 MiB

信息

递交者
类型
递交
题目
wyy的烦恼
题目数据
下载
语言
C++
递交时间
2021-11-27 14:11:16
评测时间
2021-11-27 14:15:39
评测机
分数
90
总耗时
≥2378ms
峰值内存
≥73.949 MiB