简单的字符串-题解(C++代码)C++超简单方法 摘要:```cpp #include using namespace std; // 因为每次只用对比后一个字符,所以这样模拟就行,但是 // 要注意最后一个字符怎么输出,其方法是加一个无关字…… 题解列表 2020年03月04日 0 点赞 1 评论 869 浏览 评分:9.9
简单的字符串-题解(C语言代码)--时间超限 摘要: #include #include int main(){ int n,c,d,cnt; scanf("%d",&n);getchar(); whil…… 题解列表 2019年12月11日 0 点赞 0 评论 856 浏览 评分:9.9
简单的字符串 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { char str[100] = { 0 }; …… 题解列表 2024年08月13日 0 点赞 0 评论 134 浏览 评分:9.9
简单的字符串-题解(C++代码) 摘要:#include using namespace std; int main() { int n; cin>>n; char a[100][10000]; for(int i=…… 题解列表 2020年02月04日 0 点赞 1 评论 707 浏览 评分:9.9
简单的字符串-题解(C语言代码) 摘要: ```c #include #include /* run this program using the console pauser or add your own getch, …… 题解列表 2019年12月31日 0 点赞 0 评论 817 浏览 评分:9.9
简单的字符串-题解(C语言代码) 摘要:```c #include #include int main() { char s[10000],ch; int i,j,n,count; scanf("%…… 题解列表 2020年02月26日 0 点赞 0 评论 770 浏览 评分:9.2
简单的字符串-题解(C语言代码)(我的是笨法子) 摘要:解题思路: 这里有一个用于计数的整型变量,用count代替吧,count=1为初始值。针对输入的一个字符串而言,从第二个字符开始鉴别(注意是str[1]不是str[0]或str[2]),将当前字符与…… 题解列表 2019年07月31日 0 点赞 5 评论 978 浏览 评分:9.0
简单的字符串-题解(Python代码) 摘要:参考代码:n = int(input()) for i in range(n): s = input() d = {} for j in s: & 题解列表 2021年01月24日 0 点赞 0 评论 292 浏览 评分:8.0
简单的字符串-题解(C语言代码) 摘要: #include int main() { char a[10000]; int n,i,j; scanf("%d",&n); for(i=0…… 题解列表 2019年07月25日 0 点赞 0 评论 621 浏览 评分:6.0
简单的字符串 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int n,i,j,k,t; char s[10001]; scanf("%…… 题解列表 2018年02月22日 0 点赞 0 评论 1196 浏览 评分:2.7