Time Exceeded

foo.cc: In function 'int main()':
foo.cc:17:23: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
   17 |                 if(a[i]>max)
      |                    ~~~^
foo.cc:5:19: note: 'a' declared here
    5 |         int     n,a[100001],j=1,max=-1;
      |                   ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB
#5 Accepted 3ms 256.0 KiB
#6 Accepted 2ms 256.0 KiB
#7 Time Exceeded ≥1100ms ≥256.0 KiB
#8 Time Exceeded ≥1099ms ≥256.0 KiB
#9 Time Exceeded ≥1099ms ≥256.0 KiB
#10 Time Exceeded ≥1100ms ≥256.0 KiB

信息

递交者
类型
递交
题目
P1472 1.5.43:质因数分解
语言
C++
递交时间
2022-08-22 19:34:56
评测时间
2022-08-22 19:34:56
评测机
分数
60
总耗时
≥4415ms
峰值内存
≥256.0 KiB