2906笨小猴c++ 摘要:参考代码:#include<bits/stdc++.h>using namespace std;int bbb(int n){ if(n<2) return 0; for(i…… 题解列表 2023年07月17日 0 点赞 0 评论 147 浏览 评分:9.9
笨小猴(看题目说只可能出现小写字母,那就可以创建大小为26的数组存放字母出现的次数) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { char a[100]; gets(a); in…… 题解列表 2023年10月25日 0 点赞 0 评论 122 浏览 评分:9.9
C语言——题解 2906: 笨小猴 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[101]; int b[26]={0},i,j; scanf("%s",a); …… 题解列表 2023年01月04日 0 点赞 0 评论 206 浏览 评分:9.9
笨小猴,第一次写解析 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char z[101]; scanf("%s",z);//输入一个字符串…… 题解列表 2023年03月14日 0 点赞 0 评论 146 浏览 评分:9.9
笨小猴(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[100]; int i,j;; int w; int b[200]={0}…… 题解列表 2022年11月14日 0 点赞 0 评论 366 浏览 评分:9.9
2906: 笨小猴 摘要:```cpp #include #include #include #include using namespace std; bool ZS(int n) { if(nn; …… 题解列表 2023年01月08日 0 点赞 0 评论 249 浏览 评分:9.9
题解 2906: 笨小猴 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int ZS(int n){ if(n<2) return 0; …… 题解列表 2022年11月04日 0 点赞 0 评论 158 浏览 评分:0.0
编写题解 2906: 笨小猴 摘要:解题思路:注意事项:参考代码:def main(): a = input().strip() # 读取一行输入并去除前后的空白字符 char_counts = {} # 字典来存储每个…… 题解列表 2024年04月30日 0 点赞 0 评论 139 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[101]; gets(str); int maxn=0, …… 题解列表 2023年06月12日 0 点赞 0 评论 127 浏览 评分:0.0
题解 2906: 笨小猴 摘要:解题思路:1.读取输入的单词。2.创建一个长度为26的数组counts用于统计每个字母的出现次数。初始将所有字母的计数设置为0。3.遍历单词中的每个字符,将每个字母的出现次数加1到counts数组的对…… 题解列表 2023年08月29日 0 点赞 0 评论 182 浏览 评分:0.0