_becky
_becky
全部文章
分类
题解(76)
归档
标签
去牛客网
登录
/
注册
_becky的博客
加油~
TA的专栏
76篇文章
0人订阅
华为机考
76篇文章
1138人学习
全部文章
(共75篇)
题解 | #迷宫问题#
来自专栏
#include<iostream> #include<vector> using namespace std; int n,m,f; vector<vector<int>> maze,path; void dfs(int i,int j) { ...
C++
2022-03-09
0
313
题解 | #称砝码#
来自专栏
#include<bits/stdc++.h> using namespace std; int main() { int a[10],N,t; while(cin>>N) { vector<int> v; ...
C++
2022-03-09
0
284
题解 | #求小球落地5次后所经历的路程和第5次反弹的高度#
来自专栏
#include <iostream> #include <iomanip> using namespace std; int main() { double h,dis=0; int n = 5; cin >> h; for(in...
C++
2022-03-09
0
276
题解 | #字符串加密#
来自专栏
#include <bits/stdc++.h> using namespace std; int main() { string k,w; while(cin>>k>>w) { string t=""; f...
C++
2022-03-09
0
288
题解 | #整数与IP地址间的转换#
来自专栏
#include <iostream> #include <cmath> using namespace std; int main() { long long a,b,c,d,num; while(scanf("%lld.%lld.%lld.%lld%lld...
C++
2022-03-09
1
260
题解 | #密码截取#
来自专栏
#include <iostream> using namespace std; const int N = 3e3; bool dp[N][N]; int main() { string s; cin >> s; int n = s.size(),m...
C++
2022-03-09
1
290
题解 | #字符串加解密#
来自专栏
#include <iostream> using namespace std; string l1 = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; string l2 = "BCDEFGHIJKLM...
C++
2022-03-09
0
220
题解 | #查找兄弟单词#
来自专栏
#include<iostream> #include<vector> #include<algorithm> using namespace std; bool isbro(string s1, string s2) { if(s1.length() !...
C++
2022-03-09
4
279
题解 | #字符串排序#
来自专栏
#include <iostream> #include <vector> using namespace std; int main() { string str; while (getline(cin, str)) { int le...
C++
2022-03-09
0
230
题解 | #合唱队#
来自专栏
#include<iostream> #include<vector> using namespace std; int main() { int n; while(cin>>n) { int t; vect...
C++
2022-03-07
10
414
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页