记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:8:12: warning: 'i' is used uninitialized [-Wuninitialized]
    8 |     while(i<n)
      |           ~^~
foo.cc:6:21: note: 'i' was declared here
    6 |         int a=0,b=1,i,c,n;
      |                     ^
# 状态 耗时 内存占用
#1 Accepted 3ms 536.0 KiB
#2 Accepted 3ms 536.0 KiB
#3 Accepted 3ms 324.0 KiB
#4 Accepted 2ms 536.0 KiB
#5 Accepted 2ms 324.0 KiB

信息

递交者
类型
递交
题目
A2-2 循环结构入门:斐波拉契数列
比赛
2024-3-15 信息教师练习赛(2)
语言
C++
递交时间
2024-03-20 19:46:19
评测时间
2024-03-20 19:46:19
评测机
分数
100
总耗时
15ms
峰值内存
536.0 KiB