Time Exceeded

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

信息

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