#include <bits/stdc++.h>
#define bug printf("************************\n");
#define fuck(x) cout << #x << " -> " << x << endl
#define endl '\n'
#define int long long
using namespace std;
constexpr int N = 1e6, inf = 0x3f3f3f3f;
int d, y;
char str[4];
int cnt = 0;
int arr[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
bool check(int n)
{
if (n >= 1582)
{
if ((n % 400 == 0) || (n % 4 == 0 && n % 100 != 0))
{
return true;
}
}
else
{
if (n % 4 == 0)
{
return true;
}
}
return false;
}
int readmouth()
{
string s;
for (int i = 0; i < 3; i++)
{
s += str[i];
}
if (s == "JAN")
return 1;
else if (s == "FEB")
return 2;
else if (s =
P8831 [传智杯 #3 练习赛] 儒略历
最新推荐文章于 2024-09-26 21:10:57 发布