字符统计(c语言代码) 摘要:解题思路:利用整形数组记录字符串中字符出现的次数,然后将每个字母出现的次数进行对比,大的留下小的置0,最后输出 ```c #include #include char str[100000];…… 题解列表 2023年04月26日 0 点赞 1 评论 576 浏览 评分:9.3
屎山代码写法 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cstdio>#include <cstring>#include <algorithm>using names…… 题解列表 2023年04月26日 0 点赞 0 评论 566 浏览 评分:10.0
刷题统计(c语言代码) 摘要:解题思路:一开始看到题目肯定会使用循环解题,当然大家肯定都试过,得到的结果就是超时。那我们就直接使用一个星期可完成的任务量,来算需要多少天。初中就学过得基础知识:总任务量 / 每日完成量 = 天数。我…… 题解列表 2023年04月26日 1 点赞 4 评论 999 浏览 评分:9.9
按六位二进制数从0枚举至63 摘要:解题思路:按六位二进制数从0遍历至63,0为不去,1为去注意事项:参考代码:#include<stdio.h>int main(){ int a[2][6]={{0,0,0,0,0,0},{65…… 题解列表 2023年04月26日 0 点赞 0 评论 422 浏览 评分:0.0
java最长最短单词 摘要:解题思路:注意事项:参考代码:package ten;import java.util.Scanner;public class 最长最短单词 { public static void main…… 题解列表 2023年04月26日 0 点赞 0 评论 397 浏览 评分:9.9
1013题: Sn的公式求和 摘要:# 自己写的代码 ```c #include int main() { int n,a,sn; scanf("%d",&n); for(int i=0;i…… 题解列表 2023年04月26日 0 点赞 0 评论 419 浏览 评分:0.0
成绩统计(c语言代码) 摘要:```c #include int main() { int n, good = 0, pass = 0; scanf("%d", &n); int temp = n,score…… 题解列表 2023年04月26日 0 点赞 0 评论 466 浏览 评分:9.9
1012题: 字符串分类统计 摘要:# 自己写的代码 ```c #include #include int main() { char a[100]; int b=0,c=0,d=0,e=0; gets(a);…… 题解列表 2023年04月26日 0 点赞 0 评论 393 浏览 评分:0.0
普通的写法 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;const int N=100;int a[N]; int …… 题解列表 2023年04月26日 0 点赞 0 评论 461 浏览 评分:0.0
数组求和(c语言代码) 摘要:解题思路:让数组循环,每次只需要记录从数组第一个元素起,到第m个元素的和,再比较大小。 ```c #include #include void cycle(int*, int); …… 题解列表 2023年04月26日 0 点赞 0 评论 417 浏览 评分:9.9