不难的模拟 却被题意卡死了
changes back from PDT to PST at 02:00 to 01:00
这句话是指从2点变成1点 我tm以为是这个时间段。。。一开始就觉得奇怪 时间段怎么会从2->1 就没管他了 结果是翻译错了。。。
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <stack>
#include <queue>
#include <map>
#include <set>
#include <vector>
#include <math.h>
#include <bitset>
#include <algorithm>
#include <climits>
#include <bits/stdc++.h>
using namespace std;
const int N = 30;
typedef long long LL;
set<int>q;
int judge(int x)
{
if((x%400)==0||(x%100!=0 && x%4==0)) return 1;
return 0;
}
int mx[13]={0,31,29,31,30,31,30,31,31,30,31,30,31};
struct node
{
int year, mon, day;
int h,m,s;
bool operator <(const node &A)const
{