Wrong Answer

foo.cc: In function 'int main()':
foo.cc:5:8: warning: unused variable 'n' [-Wunused-variable]
    5 |  int m,n,c,i;
      |        ^
foo.cc:7:4: warning: 'm' is used uninitialized in this function [-Wuninitialized]
    7 |  r=double(m)/m;
      |    ^~~~~~~~~
foo.cc:8:12: warning: 'c' is used uninitialized in this function [-Wuninitialized]
    8 |  for (i=1;i<=c;i++)
      |           ~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -8, expect 5. 2ms 512.0 KiB
#2 Wrong Answer Read -8, expect 7. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1122 小数点后的数字
语言
C++
递交时间
2021-12-18 14:19:39
评测时间
2021-12-18 14:19:39
评测机
分数
0
总耗时
4ms
峰值内存
512.0 KiB