记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:10:36: warning: 'c[2]' may be used uninitialized [-Wmaybe-uninitialized]
   10 |                 else if (n==1) d[i]=b;
      |                                ~~~~^~
foo.cc:5:27: note: 'c[2]' was declared here
    5 |         long long t,a,b,n,c[10],j,d[10010];
      |                           ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 8ms 412.0 KiB
#2 Accepted 14ms 332.0 KiB
#3 Accepted 12ms 412.0 KiB
#4 Accepted 8ms 412.0 KiB
#5 Time Exceeded ≥1100ms ≥412.0 KiB
#6 Time Exceeded ≥1100ms ≥284.0 KiB
#7 Time Exceeded ≥1100ms ≥412.0 KiB
#8 Time Exceeded ≥1100ms ≥284.0 KiB
#9 Time Exceeded ≥1100ms ≥412.0 KiB
#10 Time Exceeded ≥1100ms ≥412.0 KiB

信息

递交者
类型
递交
题目
P1514 Problem B. 纳西妲数列
比赛
2023秋 苏州青少年科技馆(吴江计算机协会)CSP-J/S模拟赛(3)
语言
C++
递交时间
2023-10-11 19:10:17
评测时间
2023-10-11 19:10:17
评测机
分数
40
总耗时
≥6648ms
峰值内存
≥412.0 KiB