Memory Exceeded

foo.cc: In function 'int WeekdayOfTheFirstDay(int, int)':
foo.cc:21:1: warning: no return statement in function returning non-void [-Wreturn-type]
   21 | }
      | ^
foo.cc: In function 'int main()':
foo.cc:25:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   25 |  scanf("%d %d",&year,&month);
      |  ~~~~~^~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Memory Exceeded ≥94ms ≥16.02 MiB
#2 Memory Exceeded ≥90ms ≥16.02 MiB

信息

递交者
类型
递交
题目
P1074 计算星期几
语言
C++
递交时间
2022-07-13 19:41:43
评测时间
2022-07-13 19:41:43
评测机
分数
0
总耗时
≥184ms
峰值内存
≥16.02 MiB