黑色星期五Friday the Thirteenth
纯种模拟,分好润平年。
d是日,够就清零m++
m是月,够就清零y++
是星期几,过来七天就请零(是为了统计十三号的)
#include<bits/stdc++.h>
using namespace std;
bool runnian(int h){
if(h%100==0)
if(h%400==0) return true;
else return false;
else
if(h%4==0) return true;
else return false;
}
int main