Time Exceeded

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

信息

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