高端的食材只需要简单的烹饪.(狗头) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, b, c, d; cin >> a >> b >> c …… 题解列表 2021年08月22日 0 点赞 0 评论 501 浏览 评分:6.0
编辑距离-C++代码 摘要: #include #include using namespace std; int main() { string a,b; …… 题解列表 2021年08月22日 0 点赞 0 评论 632 浏览 评分:9.9
STL函数翻转 摘要:解题思路:C++STL库函数翻转注意事项:参考代码:```#include<bits/stdc++.h>using namespace std;int main(){ vector<int> a…… 题解列表 2021年08月21日 0 点赞 0 评论 516 浏览 评分:9.9
1040: [编程入门]实数的打印 AC代码 摘要:```cpp #include using namespace std; int main() { cout n; cout …… 题解列表 2021年08月21日 0 点赞 0 评论 1124 浏览 评分:9.9
两种方法(C++) 摘要:解题思路:注意事项:参考代码:1.#include<iostream> #include <algorithm> #include <string> using namespace std;…… 题解列表 2021年08月21日 0 点赞 0 评论 351 浏览 评分:0.0
字符串反转,只需定义一个数组 摘要:解题思路: 逆序,循环输出注意事项:参考代码: #include<iostream> #include<cstring> using namespace std; int main(){ …… 题解列表 2021年08月19日 0 点赞 0 评论 361 浏览 评分:0.0
1003: [编程入门]密码破译 摘要:解题思路:由China变成Glmre可知:原来的字母由它后面的第4个所代替。那么我们就可以声明五个变量,然后输入一下,把五个字符变量的ASCII码值+4,最后输出即可。(https://baike.b…… 题解列表 2021年08月19日 0 点赞 1 评论 3197 浏览 评分:8.0
编写题解 1206: 字符串问题(c++) 摘要:解题思路:相同的字符串进行逆转,用两个不同的变量i,j标记,i记录串尾位置,j记录串头位置,用个for循环就好参考代码: #include <iostream>#inclu…… 题解列表 2021年08月19日 0 点赞 0 评论 511 浏览 评分:0.0
1116: IP判断(C++代码) 摘要:#include <iostream> #include <string> using namespace std; //判断ip是否合法 bool isLegal(string i…… 题解列表 2021年08月19日 0 点赞 0 评论 382 浏览 评分:0.0
[编程入门]自定义函数之字符类型统计 AC代码 摘要:```cpp #include using namespace std; int get_letter_num(string s_1) { int j = 0; for (int i…… 题解列表 2021年08月18日 0 点赞 0 评论 629 浏览 评分:9.9