Wrong Answer

foo.cc: In function 'int DaysOfYear(int)':
foo.cc:14:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   14 |  if(year=IsLeapYear(year))
      |     ~~~~^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#2 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1073 闰年、年天数、月天数-函数
语言
C++
递交时间
2022-07-16 17:43:18
评测时间
2022-07-16 17:43:18
评测机
分数
0
总耗时
4ms
峰值内存
384.0 KiB