摘要: 沿时间轴枚举,发现关键时间点在于新题目被锁定的前一时间,那是新的题目还没有被锁定并且距离旧的题目已经被锁定的最晚时间,对这些时间点进行操作 1 #define HAVE_STRUCT_TIMESPEC 2 #include<bits/stdc++.h> 3 using namespace std; 阅读全文
posted @ 2020-01-15 17:02 sewage 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 1 #define HAVE_STRUCT_TIMESPEC 2 #include<bits/stdc++.h> 3 using namespace std; 4 const long long mod = 1e9+7; 5 long long pre[1007][1007],temp[1007][ 阅读全文
posted @ 2020-01-15 12:42 sewage 阅读(167) 评论(0) 推荐(0) 编辑