星期推算
Date Projection
题目详情
令 分别表示一周中的各天(星期日、星期一、...、星期六)。那么星期一之后第 100 天是星期几(用整数表示)?
Let be the days of the week (Sunday, Monday, ..., Saturday). What day of the week will it be 100 days after Monday (as an integer)?
解析
每隔 7 天都会再次回到星期一。因为 ,所以从最后一个星期一往后还要再过 2 天,因此星期一之后第 100 天是星期三,对应整数为 。
Original Explanation
Every seventh day is a Monday. There will be days remaining after the last Monday, and thus 100 days after Monday is a Wednesday (4).