_becky
_becky
全部文章
分类
题解(76)
归档
标签
去牛客网
登录
/
注册
_becky的博客
加油~
TA的专栏
76篇文章
0人订阅
华为机考
76篇文章
1138人学习
全部文章
(共75篇)
题解 | #公共子串计算#
来自专栏
#include <bits/stdc++.h> using namespace std; int main() { string str1,str2; cin>>str1>>str2; int m = str1.size(),n = st...
C++
2022-03-09
0
287
题解 | #计算字符串的编辑距离#
来自专栏
#include <string> #include <iostream> using namespace std; int main() { string w1,w2; while(cin>>w1>>w2) { ...
C++
2022-03-09
0
335
题解 | #DNA序列#
来自专栏
#include <bits/stdc++.h> using namespace std; int main() { string s, res = ""; int n, ans = -1; cin >> s >> n; for (...
C++
2022-03-09
1
221
题解 | #MP3光标位置#
来自专栏
#include <iostream> #include <list> using namespace std; int main() { int n; string cmd; while (cin >> n >> cmd) ...
C++
2022-03-09
0
230
题解 | #四则运算#
来自专栏
#include<iostream> #include<string> #include<vector> using namespace std; int add(string& s, int l, int r) { vector<int&g...
C++
2022-03-09
0
232
题解 | #高精度整数加法#
来自专栏
#include<bits/stdc++.h> using namespace std; int main() { string s1,s2; while(cin >> s1 >> s2) { vector<int&g...
C++
2022-03-09
3
284
题解 | #挑7#
来自专栏
#include <bits/stdc++.h> using namespace std; int shuzi(int i) { do{ if(i%10==7) return 1; }while(i/=10); return 0; } int ma...
C++
2022-03-09
0
302
题解 | #火车进站#
来自专栏
#include <bits/stdc++.h> using namespace std; int n,a[15],c[15]; bool check(int b[]) { stack<int> st; for(int i=0,j=0;i<n;i++) ...
C++
2022-03-09
0
242
题解 | #在字符串中找出连续最长的数字串#
来自专栏
#include<iostream> #include<string> #include<vector> using namespace std; int main() { string s; while (cin>>s) { ...
C++
2022-03-09
0
354
题解 | #名字的漂亮度#
来自专栏
#include<iostream> #include<algorithm> #include<vector> using namespace std; int main() { int d; while(cin>>d) { ...
C++
2022-03-09
0
226
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页