摘要: int dayofweek(int y, int m, int d) /* 0 = Sunday */{static int t[] = {0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4};y -= m < 3;return (y + y/4 - y/100 + y/400 +... 阅读全文
posted @ 2015-08-18 16:49 chencesc 阅读(515) 评论(1) 推荐(1) 编辑