Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:5: warning: 'avg' may be used uninitialized in this function [-Wmaybe-uninitialized]
  avg/=n;
  ~~~^~~
# 状态 耗时 内存占用
#1 Runtime Error 2ms 408.0 KiB
#2 Runtime Error 2ms 420.0 KiB
#3 Runtime Error 2ms 352.0 KiB
#4 Wrong Answer 2ms 360.0 KiB
#5 Runtime Error 2ms 456.0 KiB
#6 Runtime Error 2ms 420.0 KiB
#7 Wrong Answer 1ms 400.0 KiB
#8 Wrong Answer 1ms 400.0 KiB
#9 Wrong Answer 1ms 332.0 KiB

信息

递交者
类型
递交
题目
P2519 求N个整数的平均数、众数和中位数
语言
C++
递交时间
2024-06-28 22:48:16
评测时间
2024-06-28 22:48:16
评测机
分数
0
总耗时
18ms
峰值内存
456.0 KiB