多情应笑我
多情应笑我
全部文章
题解
归档
标签
去牛客网
登录
/
注册
多情应笑我的博客
全部文章
/ 题解
(共14篇)
C++ 哈希
#include <bits/stdc++.h> using namespace std; int main(int argc, char* argv[]) { string str1, str2; int hashTable[300]; while(cin ...
2021-02-22
0
512
C++迷宫问题 DFS
#include <iostream> #include <algorithm> #include <vector> #include <map> using namespace std; int row = 0, col = 0; vector&...
2021-02-21
2
828
C++最小公倍数
#include <iostream> #include <algorithm> using namespace std; int gcd(int a, int b) { return b == 0 ? a : gcd(b, a % b); } int main...
2021-02-21
0
691
C++ 密码验证合格程序
#include <iostream> #include <string> using namespace std; int main(int argc, char *argv[]) { string str; while(cin >> st...
2021-02-10
1
537
坐标运动 C++ 正则表达式
#include <iostream> #include <string> #include <regex> #include <map> using namespace std; int main(int argc, char *argv[]) ...
2021-02-10
10
950
字符串分割
#include <iostream> #include <string> using namespace std; int main(int argc, char *argv[]) { string str; string ans(8, '0'); ...
2021-02-09
0
400
字符串加密
C++坑真多 思路:对于字符串映射由原先的 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 改为 A B C D E F G H I J ...
2021-02-07
0
528
单词倒排
#include <iostream> #include <string> #include <vector> #include <sstream> using namespace std; int main() { string str,...
2021-02-07
0
393
记负均正
为什么出这么简单的题目? #include <iostream> #include <algorithm> using namespace std; int main() { unsigned n = 0; int data; while(cin ...
2021-02-06
0
628
查找兄弟单词
#include <iostream> #include <string> #include <algorithm> #include <vector> using namespace std; int main() { int n; ...
2021-02-06
0
399
首页
上一页
1
2
下一页
末页