题解 1206: 字符串问题

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

Kanna-字符串问题--C++

摘要:C++在实现字符串逆序时可以使用string头文件中的函数 #include #include using namespace std; int mai……

1206: 字符串问题

摘要:```cpp #include #include using namespace std; int main() { char a[300]; gets(a); ……

Manchester-【字符串问题】

摘要:### 解题思路: 1. 法一:输入一个字符串,求其长度,然后从最后一个字符一次向前输出 1. 法二:把字符串存入栈,然后把栈中元素pop出来 1. 以上两种方法本质上一样,这里采用第二种方……

1206: 字符串问题

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char str[1001]; scanf("%[^\n]",str);……

我奶奶都会

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){    int i;    char a[300];    gets(a)……