- 博客(2)
- 收藏
- 关注
原创 华为机试部分刷题记录
1.字符串最后一个单词的长度_ #include <iostream> #include <string> using namespace std; int main(){ string str; getline(cin,str); int count = 0; int len = str.length(); for(int i = len-1; i >=0 ; --i){ if(str[i] != ' '){
2021-08-04 13:53:49
212
原创 string类函数和牛客网剑指offer刷题记录
文章目录1.strcat2.strlen3.strcmp4,strcpy5.strstr6.memcpy1.[斐波那契数列_](https://www.nowcoder.com/practice/c6c7742f5ba7442aada113136ddea0c3?tpId=13&&tqId=11160&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking)2.[跳台阶_](htt
2021-08-04 13:52:30
185
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人