摘要: https://codeforces.com/contest/1303/problem/E 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int maxn = 405; 4 int dp[maxn][maxn]; 5 bool ch 阅读全文
posted @ 2020-02-24 17:30 AaronChang 阅读(149) 评论(0) 推荐(0) 编辑
摘要: https://codeforces.com/contest/1304/problem/D 1 #include<bits/stdc++.h> 2 using namespace std; 3 void solve(){ 4 int n; 5 string s; 6 cin>>n; 7 cin>>s 阅读全文
posted @ 2020-02-24 17:28 AaronChang 阅读(225) 评论(0) 推荐(0) 编辑
摘要: https://codeforces.com/contest/1304/problem/E 1 #include<bits/stdc++.h> 2 using namespace std; 3 typedef long long ll; 4 const int maxbit = 20; 5 cons 阅读全文
posted @ 2020-02-24 17:27 AaronChang 阅读(175) 评论(0) 推荐(0) 编辑
摘要: https://codeforces.com/contest/1304/problem/F2 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int maxn = 4e4+5; 4 int dp[55][maxn]; 5 int va 阅读全文
posted @ 2020-02-24 17:26 AaronChang 阅读(160) 评论(0) 推荐(0) 编辑
摘要: A. Two Rabbits (手速题) 1 #include<bits/stdc++.h> 2 using namespace std; 3 typedef long long ll; 4 int main(){ 5 int t; 6 cin>>t; 7 while(t--){ 8 ll x,y, 阅读全文
posted @ 2020-02-24 17:24 AaronChang 阅读(117) 评论(0) 推荐(0) 编辑
摘要: A. Erasing Zeroes (模拟) 1 #include<bits/stdc++.h> 2 using namespace std; 3 typedef long long ll; 4 const int maxn = 1e5+5; 5 int main(){ 6 int t;cin>>t 阅读全文
posted @ 2020-02-24 17:18 AaronChang 阅读(103) 评论(0) 推荐(0) 编辑