摘要: #include<bits/stdc++.h> using namespace std; const int n=55; char s[n]; int f[n][n]; //const int INF=1e8; int main(){ scanf("%s",s+1); int len = strle 阅读全文
posted @ 2020-07-05 21:22 LightyaChoo 阅读(105) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; const int n=2010; char a[n],b[n]; int dp[n][n]; int main(){ scanf("%s%s",a+1,b+1); int l1 = strlen(a+1); 阅读全文
posted @ 2020-07-05 21:21 LightyaChoo 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 1 #include<iostream> 2 #include<stack> 3 #include<cstdio> 4 using namespace std; 5 const int N = 12000; 6 7 struct edge{ 8 int to; 9 int next; 10 }e[N 阅读全文
posted @ 2020-07-05 21:20 LightyaChoo 阅读(143) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; typedef long long ll; const ll N=1000010; ll n,m; ll a[N]; struct Node{ ll it; ll l; ll r; ll data; }tree 阅读全文
posted @ 2020-07-05 21:19 LightyaChoo 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 1 #include<bits/stdc++.h> 2 using namespace std; 3 typedef long long ll; 4 const ll N=1000010; 5 ll n,m; 6 ll a[N]; 7 8 struct Node{ 9 ll it; 10 ll l; 阅读全文
posted @ 2020-07-05 21:18 LightyaChoo 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 1 #include<bits/stdc++.h> 2 using namespace std; 3 typedef long long ll; 4 const ll N=100100; 5 ll minn[N<<2]; 6 ll a[N]; 7 ll n,m; 8 ll cnt; 9 void b 阅读全文
posted @ 2020-07-05 21:17 LightyaChoo 阅读(147) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-07-05 21:08 LightyaChoo 阅读(118) 评论(7) 推荐(1) 编辑
摘要: A. 侦查(tarjan缩点) 题目描述 输入格式 输出格式 样例 样例输入 12 11 10 11 2 3 4 5 1 1 1 1 1 1 1 2 2 3 1 3 4 5 5 6 6 7 8 9 9 12 11 12 10 11 8 10 样例输出 8 9 10 11 12 1 2 3 分析 我恨 阅读全文
posted @ 2020-07-04 21:44 LightyaChoo 阅读(178) 评论(0) 推荐(0) 编辑
摘要: P4877 [USACO14FEB]Cow Decathlon G xiu(传送门) 题目描述 输入输出样例 输入 #1 3 1 2 7 6 5 1 7 2 2 4 4 2 1 输出 #1 17 分析 额......恩......嗯......咦......呃......这...... 主要就是额外 阅读全文
posted @ 2020-07-04 21:07 LightyaChoo 阅读(124) 评论(0) 推荐(0) 编辑
摘要: P3052 [USACO12MAR]Cows in a Skyscraper G xiu 同小猫爬山(一个代码A两题) 阅读全文
posted @ 2020-07-03 21:07 LightyaChoo 阅读(114) 评论(0) 推荐(0) 编辑