Wrong Answer

foo.cc: In function 'int main()':
foo.cc:23:15: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized]
   23 |         printf("%.2f",r);
      |         ~~~~~~^~~~~~~~~~
foo.cc:5:21: note: 'r' was declared here
    5 |         float n1,n2,r;
      |                     ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -818072275242083..., expect 61. 5ms 412.0 KiB
#2 Wrong Answer Read 0.00, expect 60. 5ms 412.0 KiB
#3 Wrong Answer Read 8612374552426790..., expect 366. 4ms 412.0 KiB
#4 Wrong Answer Read 248497.38, expect 365. 4ms 412.0 KiB
#5 Wrong Answer Read -260072669184.00, expect 41. 4ms 372.0 KiB

信息

递交者
类型
递交
题目
P1025 计算某日期的天数***
语言
C++
递交时间
2023-12-17 20:17:39
评测时间
2023-12-17 20:17:39
评测机
分数
0
总耗时
23ms
峰值内存
412.0 KiB