有一种挂历上面只印有月、日及星期,为了节约起见,可将此挂历留作日后使用。问公元1998年使用过的挂历,最早能在公元哪一年再使用?(注:公元2000年是闰年...

作者: tihaiku 人气: - 评论: 0
问题 有一种挂历上面只印有月、日及星期,为了节约起见,可将此挂历留作日后使用。问公元1998年使用过的挂历,最早能在公元哪一年再使用?(注:公元2000年是闰年)() A. 2004 B. 2006 C. 2009 D. 2012
选项
答案 C
解析 只要算出不是闰年的年份1月1日与1998年1月1日同为星期几就可以了。 每个星期都是 7 天,而 365 + 752... 1,366 + 7 = 52…2,而 2000、2004、2008 年均是闰年。1 + 1 + 2 +1 + 1 + 1 = 7。到2004年1月1日与1998年1月1日的星期数是一样的。但2004年是闰年,不合題意。 2 + 1 + 1 + 1 + 2 = 7。所以到2009年就能重新使用这本挂历。故本題正确答案为C。

相关内容:挂历,星期,日后,公元,1998年,2000年,闰年

猜你喜欢

更多 网友评论0 条评论)
暂无评论
错误啦!

错误信息

  • 消息: [程序异常] : MISCONF Redis is configured to save RDB snapshots, but it's currently unable to persist to disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
  • 文件: /twcms/kongphp/cache/cache_redis.class.php
  • 位置: 第 85 行
    <?php echo 'KongPHP, Road to Jane.'; ?>