Time Exceeded

foo.cc: In function 'int main()':
foo.cc:11:9: warning: 'a[1]' is used uninitialized in this function [-Wuninitialized]
  max=min=a[1];
      ~~~^~~~~
foo.cc:19:13: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations]
   if(max<a[b])
          ~~~^
foo.cc:17:11: note: within this loop
  for(b=1;b<=10;b++)
          ~^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1457ms ≥360.0 KiB
#2 Time Exceeded ≥1455ms ≥368.0 KiB
#3 Time Exceeded ≥1452ms ≥368.0 KiB
#4 Time Exceeded ≥1455ms ≥340.0 KiB
#5 Time Exceeded ≥1928ms ≥432.0 KiB

信息

递交者
类型
递交
题目
P1090 阶段测验3(1)
语言
C++
递交时间
2021-07-28 19:06:20
评测时间
2021-07-28 19:06:20
评测机
分数
0
总耗时
≥7750ms
峰值内存
≥432.0 KiB