摘要: #include<iostream> using namespace std; const int maxn = 1005; double data[maxn]; int f[maxn],g[maxn],n,ans; int main(){ ios::sync_with_stdio(false); 阅读全文
posted @ 2021-07-22 20:35 智人心 阅读(35) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> using namespace std; char dict[605][26]; char mes[305]; int dp[305]; int main(){ int W,L; while(cin>>W>>L){ cin>> 阅读全文
posted @ 2021-07-22 16:58 智人心 阅读(45) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> using namespace std; const int maxn = 105; char a[maxn],b[maxn]; int dp[maxn][maxn]; int main(){ while(cin>>a>>b) 阅读全文
posted @ 2021-07-22 16:11 智人心 阅读(27) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> using namespace std; const int maxn = 105; char a[maxn],b[maxn]; int dp[2][maxn]; int main(){ while(cin>>a>>b){ i 阅读全文
posted @ 2021-07-22 16:11 智人心 阅读(102) 评论(0) 推荐(0)
摘要: ios::sync_with_stdio(false); cin.tie(0); 阅读全文
posted @ 2021-07-22 16:03 智人心 阅读(38) 评论(0) 推荐(0)
摘要: #include<iostream> #include<stack> using namespace std; const int maxn = 105; int n,data[maxn],t[maxn]; stack<int>s; int main(){ int ans; while(cin>>n 阅读全文
posted @ 2021-07-22 10:12 智人心 阅读(35) 评论(0) 推荐(0)