为什么全Wa+TLE大佬求助副修改代码

P1202 [USACO1.1] 黑色星期五Friday the Thirteenth

求助
by Fred_gong @ 2022-10-27 21:29:37


@[Fred_gong](/user/787961) ```cpp last=(last+dayofm[month])%7; last[at]++; ``` 虽然我看不懂,但我大受震撼
by Apress @ 2022-10-27 22:01:09


@[Fred_gong](/user/787961) ~~nm~~,样例都过不了啊
by Apress @ 2022-10-27 22:04:24


闰年判断错了,没考虑世纪年但非整除400的年份,月份的数组里头数据有错
by Starlight016 @ 2023-01-26 17:06:03


|