Compile Error

foo.cc: In function 'int main()':
foo.cc:8:5: error: 'mouth' was not declared in this scope
  if(mouth==1)
     ^~~~~
foo.cc:8:5: note: suggested alternative: 'month'
  if(mouth==1)
     ^~~~~
     month
foo.cc:58:41: error: expected primary-expression before '=' token
   if(year%400==0||(year%4==0&&year%100!==0))
                                         ^
foo.cc:60:13: warning: statement has no effect [-Wunused-value]
    days+days+1;
    ~~~~~~~~~^~
[Hydro](https://hydro.ac)提供评测服务

信息

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