Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:11:10: warning: ‘j’ may be used uninitialized [-Wmaybe-uninitialized]
   11 |         j=j+a[i];
      |         ~^~~~~~~
foo.cc:6:11: note: ‘j’ was declared here
    6 |     float j;
      |           ^
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Wrong Answer Read 106110352.00, expect 50.80. 2ms 540.0 KiB
#2 Wrong Answer Read -156965040.00, expect 78.50. 3ms 536.0 KiB

信息

递交者
类型
递交
题目
P1059 数组元素平均值
语言
C++
递交时间
2024-05-12 16:03:35
评测时间
2024-05-12 16:03:35
评测机
分数
0
总耗时
5ms
峰值内存
540.0 KiB