c语言 找第一个只出现一次的字符[a-z] 摘要:解题思路:将每个字符拆开再遍历,判断有没有相同字符,若没有则是要找的字符注意事项:粗略代码,题目要求字符数量在0-10000间,计算时计算文本长度再代入遍历才好将红色串改成if(b!=3)则可以判断任…… 题解列表 2025年10月09日 0 点赞 0 评论 75 浏览 评分:0.0
找第一个只出现一次的字符(C语言)(简单) 摘要: #include #include int main() { char a[100000]; gets(a); int y =…… 题解列表 2024年11月25日 1 点赞 0 评论 838 浏览 评分:9.9
找第一个只出现一次的字符 摘要:解题思路:写题解代码只是为了自己查看,无严谨性注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s[100000]; …… 题解列表 2024年11月06日 0 点赞 0 评论 491 浏览 评分:0.0
2847 找第一个只出现一次的字符(gets) 摘要:解题思路:注意事项:参考代码#include <stdio.h>#include <string.h>int main() { char arr[100001], ch; int i, j…… 题解列表 2024年10月29日 0 点赞 0 评论 373 浏览 评分:0.0
找第一个只出现一次的字符 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main() { char arr[200] = { 0 }; fgets(arr, s…… 题解列表 2024年09月26日 0 点赞 0 评论 347 浏览 评分:0.0
HashMap键值对方法 摘要:解题思路:注意事项:参考代码:import java.util.HashMap;import java.util.Map;import java.util.Scanner;public class M…… 题解列表 2024年04月22日 0 点赞 0 评论 345 浏览 评分:0.0
题解 2847: 找第一个只出现一次的字符 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100000]; int b; int i; …… 题解列表 2024年04月16日 0 点赞 0 评论 220 浏览 评分:0.0
暴力典中典 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N 100001int main(){ char str[N]; gets(str); int len…… 题解列表 2023年12月11日 0 点赞 0 评论 213 浏览 评分:0.0
c代码记录之只出现一次的首个字符 摘要: #include #include int main(){ char str[100000]; gets(str); …… 题解列表 2023年11月28日 0 点赞 0 评论 189 浏览 评分:0.0
题目 2847: 找第一个只出现一次的字符 摘要:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>int main(){ char b,a[100000]; int…… 题解列表 2023年11月06日 0 点赞 0 评论 209 浏览 评分:0.0