变成秃然的样子
变成秃然的样子
全部文章
题解
归档
标签
去牛客网
登录
/
注册
变成秃然的样子的博客
是个小菜鸡
全部文章
/ 题解
(共4篇)
最短路径和
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param triangle int整型vector<vector<>> * @return int整型 */ int min...
C++
2022-05-02
2
481
题解 | #统计字符串中子串出现的次数#
#include #include using namespace std; int main() { char str[100] = { 0 }; char substr[100] = { 0 }; cin.getline(str, sizeof(str)); cin.getline(sub...
C++
2022-04-15
4
522
题解 |CPP58 编写函数实现字符串翻转(引用方式)
#include #include using namespace std; int main() { int letter = 0; int digit = 0; int space = 0; int other = 0; char buf[1024] = {0}; cin.getline(...
C++
2022-04-14
0
401
题解 | #统计字符串中各类型字符的个数#
#include #include using namespace std; int main() { int letter = 0; int digit = 0; int space = 0; int other = 0; char buf[1024] = {0}; cin.getline(...
C++
2022-04-14
0
399