Wrong Answer

foo.cc: In function 'int main()':
foo.cc:55:16: warning: statement has no effect [-Wunused-value]
      if(month)2; 
                ^
foo.cc:59:15: warning: 'days' may be used uninitialized in this function [-Wmaybe-uninitialized]
           days=days+1;
           ~~~~^~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 376.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 380.0 KiB
#5 Wrong Answer Read 42, expect 41. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1025 计算某日期的天数***
语言
C++
递交时间
2021-11-27 09:23:10
评测时间
2021-11-27 09:23:10
评测机
分数
80
总耗时
11ms
峰值内存
384.0 KiB