牛客255581536号
牛客255581536号
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客255581536号的博客
全部文章
(共54篇)
题解 | #配置文件恢复#
#include <iostream> #include <sstream> using namespace std; class Command { private: //输入命令 string command; //配置命令 sta...
2024-02-03
0
224
题解 | #查找两个字符串a,b中的最长公共子串#
#include <iostream> using namespace std; class LongestCommonSubstr { private: string a, b; public: //构造函数 LongestCommonSubstr(...
2024-02-01
0
224
题解 | #MP3光标位置#
#include <iostream> #include <string> using namespace std; //MP3光标位置 class MP3CurPos { private: //歌曲数量 int n; //命令 str...
2024-01-31
0
263
题解 | #DNA序列#
#include <iostream> #include <string> using namespace std; class DNASequence { private: //DNA序列 string s; //所需字串长度 int...
2024-01-30
0
251
题解 | #找出字符串中第一个只出现一次的字符#
#include <iostream> #include <string> using namespace std; class FirstCharAppearOnce { private: string s; public: //构造函数 ...
2024-01-29
0
284
题解 | #挑7#
#include <iostream> using namespace std; class Pick7 { private: //上限 int n; public: //构造函数 Pick7(const int n); //析构函数...
2024-01-27
0
261
题解 | #四则运算#
#include <iostream> #include <stack> #include <sstream> using namespace std; class Compute { private: //算式 string express...
2024-01-26
0
180
题解 | #从单向链表中删除指定值的节点#
#include <iostream> using namespace std; //节点类 class Node { private: int data; Node* next; public: //构造函数 Node(const int d...
2024-01-25
0
180
题解 | #名字的漂亮度#
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; //名字类 class Names { priva...
2024-01-23
0
240
题解 | #求小球落地5次后所经历的路程和第5次反弹的高度#
#include <iostream> using namespace std; class Height { private: //高度 double h; public: //构造函数 Height(const int h); /...
2024-01-20
0
229
首页
上一页
1
2
3
4
5
6
下一页
末页