随笔分类 - 日期
摘要:History AC_Code: 1 //400年一循环+蔡勒公式 2 #include <bits/stdc++.h> 3 using namespace std; 4 typedef long long ll; 5 const int maxn = 1e5+10; 6 const ll inf=
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1201 我还以为这是一道脑筋急转弯的题QAQ, AC代码如下: 1 #include <stdio.h> 2 int leapyear(int year) 3 { 4 if(year%4==0 && year%10
阅读全文