还有这个 int week=(d+2*m+3*(m+1)/5+y+y/4-y/100+y/400)%7;
问题描述:
还有这个 int week=(d+2*m+3*(m+1)/5+y+y/4-y/100+y/400)%7;
答
这是已经证实的算法
还有这个 int week=(d+2*m+3*(m+1)/5+y+y/4-y/100+y/400)%7;
这是已经证实的算法