/ Vijos /

记录详情

Time Exceeded

foo.c: In function 'main':
foo.c:8:16: warning: statement with no effect [-Wunused-value]
  for (i=0;i<n;i+1){
               ~^~
foo.c:13:11: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
  printf("%f",S);
          ~^
          %d
foo.c:11:9: warning: variable 'A' set but not used [-Wunused-but-set-variable]
  double A=0;
         ^
foo.c:4:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&N);
  ^~~~~~~~~~~~~~
foo.c:9:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&a[i]);
  ^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1466ms ≥256.0 KiB
#2 Time Exceeded ≥1469ms ≥212.0 KiB
#3 Time Exceeded ≥1463ms ≥256.0 KiB
#4 Time Exceeded ≥1464ms ≥200.0 KiB
#5 Time Exceeded ≥1459ms ≥256.0 KiB
#6 Time Exceeded ≥1461ms ≥236.0 KiB
#7 Time Exceeded ≥1453ms ≥256.0 KiB
#8 Time Exceeded ≥1453ms ≥256.0 KiB
#9 Time Exceeded ≥1453ms ≥676.0 KiB
#10 Time Exceeded ≥1468ms ≥664.0 KiB

信息

递交者
类型
递交
题目
P1742 数据统计
语言
C
递交时间
2021-09-29 08:13:13
评测时间
2021-09-29 08:13:13
评测机
分数
0
总耗时
≥14613ms
峰值内存
≥676.0 KiB