Memory Exceeded

foo.cc: In function ‘int main()’:
foo.cc:15:18: warning: ‘c’ may be used uninitialized [-Wmaybe-uninitialized]
   15 |                 c=a+b;
      |                 ~^~~~
foo.cc:5:19: note: ‘c’ was declared here
    5 |         int n,a,b,c,i;
      |                   ^
# 状态 耗时 内存占用
#1 Memory Exceeded ≥159ms ≥16.016 MiB
#2 Memory Exceeded ≥159ms ≥16.016 MiB
#3 Memory Exceeded ≥162ms ≥16.016 MiB
#4 Memory Exceeded ≥158ms ≥16.016 MiB
#5 Memory Exceeded ≥158ms ≥16.016 MiB

信息

递交者
类型
递交
题目
P1629 A2-2 循环结构入门:斐波拉契数列
语言
C++
递交时间
2025-04-02 19:27:47
评测时间
2025-04-02 19:27:47
评测机
分数
0
总耗时
≥798ms
峰值内存
≥16.016 MiB