真新镇小智要成为宝可梦大师
真新镇小智要成为宝可梦大师
全部文章
分类
题解(2)
归档
标签
去牛客网
登录
/
注册
真新镇小智要成为宝可梦大师的博客
全部文章
(共35篇)
题解 | 密码翻译
#include <iostream> #include <string> using namespace std; int main() { string str; while (getline(cin, str)) { for (int i...
2025-03-23
0
18
题解 | 判断三角形类型
#include <bits/stdc++.h> using namespace std; int main() { int arr[3]; while (cin >> arr[0] >> arr[1]>>arr[2]) { // 注...
2025-03-23
0
14
题解 | 手机键盘
#include <iostream> using namespace std; int Char[26] = { 1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,6,7,7,7,8,8,8,8 };//在数字几 int No[26] = { 1,2,3,1,2,...
2025-03-23
0
12
题解 | 统计字符
#include <iostream> #include<map> using namespace std; int main() { string c; string b; while (getline(cin, c)) { map...
2025-03-22
0
8
题解 | 数字反转
#include <iostream> #include <algorithm> using namespace std; string add(string a, string b) { reverse(a.begin(), a.end()); revers...
2025-03-22
0
14
题解 | 今年的第几天?
#include <iostream> using namespace std; // 1 2 3 4 5 6 7 8 9 10 11 12 int arr[27]={0,31,28,31,30,31,30,31,31,30,31,30,31};...
2025-03-20
0
17
题解 | 哈夫曼树
#include <iostream> #include <queue> using namespace std; struct Node { int val; Node* l, * r; Node(int n, Node* a, Node* b) {...
2025-03-20
0
13
题解 | 找最小数
#include <iostream> #include<algorithm> using namespace std; struct Node{ int a,b; }; bool cmp(Node&a,Node&b){ if(a.a<b...
2025-03-20
0
14
题解 | 最大公约数
#include <iostream> using namespace std; int main() { int a, b; while (cin >> a >> b) { // 注意 while 处理多个 case while...
2025-03-20
0
17
题解 | 开门人和关门人
#include <iostream> #include <algorithm> #include <string> using namespace std; struct Node{ string name; string time; }; bo...
2025-03-20
0
16
首页
上一页
1
2
3
4
下一页
末页