Time Exceeded

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

信息

递交者
类型
递交
题目
P1074 计算星期几
语言
C++
递交时间
2022-07-13 19:21:28
评测时间
2022-07-13 19:21:28
评测机
分数
0
总耗时
≥2200ms
峰值内存
≥384.0 KiB