题解 1206: 字符串问题

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

筛选

字符串翻转秒解决

摘要:#include #include #include using namespace std; //回文串 int main() { string s1; cin>>s1;……

1206: 字符串问题

```cpp#include#includeusingnamespacestd;intmain(){chara[300];gets(a);for(inti=strlen(a)-1;i>=0;i--)putchar(a[i]);return0;}```

1206: 字符串问题

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

字符串问题——抽象JAVA

解题思路:StringBuilder反转参考代码:importjava.util.*;publicclassMain{publicstaticvoidmain(String[]args){Scannerscanner=newScanner(System.in);Stringstring=scanner

字符串问题(c语言递归)

```c#include#includevoidswap(char*s1,char*s2);voidreverse(char*strs,intleft,intright);intmain(){charstrs[256]={0};gets(strs);reverse(strs,

我奶奶都会

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