多情应笑我
多情应笑我
全部文章
分类
题解(14)
归档
标签
去牛客网
登录
/
注册
多情应笑我的博客
全部文章
(共15篇)
题解 | #挑7#
#include <iostream> using namespace std; int main() { int n = 0; int ans = 0; cin >> n; for (int i = 1; i <= n; ++i) { if (i ...
2023-02-12
0
115
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
507
C++迷宫问题 DFS
#include <iostream> #include <algorithm> #include <vector> #include <map> using namespace std; int row = 0, col = 0; vector&...
2021-02-21
2
819
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
684
C++ 密码验证合格程序
#include <iostream> #include <string> using namespace std; int main(int argc, char *argv[]) { string str; while(cin >> st...
2021-02-10
1
526
坐标运动 C++ 正则表达式
#include <iostream> #include <string> #include <regex> #include <map> using namespace std; int main(int argc, char *argv[]) ...
2021-02-10
10
939
字符串分割
#include <iostream> #include <string> using namespace std; int main(int argc, char *argv[]) { string str; string ans(8, '0'); ...
2021-02-09
0
397
字符串加密
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
522
单词倒排
#include <iostream> #include <string> #include <vector> #include <sstream> using namespace std; int main() { string str,...
2021-02-07
0
392
记负均正
为什么出这么简单的题目? #include <iostream> #include <algorithm> using namespace std; int main() { unsigned n = 0; int data; while(cin ...
2021-02-06
0
621
首页
上一页
1
2
下一页
末页