Compile Error

foo.cc: In function 'int WeekdayOfTheFirstDay(int, int)':
foo.cc:11:9: error: 'DaysOfYear' was not declared in this scope
    sum+=DaysOfYear(y);
         ^~~~~~~~~~
foo.cc:15:9: error: 'DaysOfMonth' was not declared in this scope
    sum+=DaysOfMonth(year,m);
         ^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1089 计算星期几
语言
C++
递交时间
2021-08-10 10:51:21
评测时间
2021-08-10 10:51:21
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes