随笔分类 -  日期

摘要: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= 阅读全文
posted @ 2020-03-20 21:07 swsyya 阅读(177) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2019-06-24 20:47 swsyya 阅读(155) 评论(0) 推荐(0)

回到顶部