摘要: A.1-偏差排列 dp? 1 #include <bits/stdc++.h> 2 using namespace std; 3 typedef long long LL; 4 LL f[55][3]; 5 6 int main(){ 7 int N; 8 scanf("%d", &N); 9 f[ 阅读全文
posted @ 2018-04-29 19:51 Aguin 阅读(197) 评论(2) 推荐(0) 编辑
摘要: A - Zero-Sum Ranges 暴力 1 #include <bits/stdc++.h> 2 using namespace std; 3 typedef long long LL; 4 map<LL, LL> cnt; 5 const int maxn = 2e5 + 10; 6 LL 阅读全文
posted @ 2018-04-29 19:34 Aguin 阅读(173) 评论(0) 推荐(0) 编辑