Wrong Answer

foo.cc: In function 'int main()':
foo.cc:33:15: warning: division by zero [-Wdiv-by-zero]
 avg=(float)sum/0;
     ~~~~~~~~~~^~
foo.cc:9:12: warning: unused variable 'N' [-Wunused-variable]
  int const N=50;
            ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -nan, expect 0.00. 1ms 384.0 KiB
#2 Wrong Answer Read inf, expect 86.75. 1ms 384.0 KiB
#3 Wrong Answer Read inf, expect 67.75. 1ms 384.0 KiB
#4 Wrong Answer Read inf, expect 84.12. 1ms 384.0 KiB
#5 Wrong Answer Read inf, expect 90.00. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1090 阶段测验3(1)
语言
C++
递交时间
2021-07-28 20:10:13
评测时间
2021-07-28 20:10:13
评测机
分数
0
总耗时
9ms
峰值内存
384.0 KiB