题解 2820: 含k个3的数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>int main(){ char a[7]; int…… 题解列表 2022年12月31日 0 点赞 0 评论 847 浏览 评分:9.9
奖学金 (Java代码) 摘要:import java.util.Arrays; import java.util.Comparator; import java.util.Scanner; class Stus{ int…… 题解列表 2022年12月31日 0 点赞 0 评论 680 浏览 评分:9.9
数组——题解 3018: 末两位数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[2]={1,0}; int i,j,n; scanf("%d",&n); …… 题解列表 2022年12月31日 0 点赞 0 评论 753 浏览 评分:9.9
2976: 字符串中最长的连续出现的字符 解题思路:先定义一个数组输入字符串然后用for循环来断句然后使用for循环来判断下插下一个字符是否与前一个字符相等如果相等则计数如果不相等则退出重新计数最后来判断输出的技术最多的一项是什么然后又输出这个字母然后再输出它的个数注意事项:先定义一个数组来断句然后用for循环来计数用If语句来判断最大的字母 题解列表 2022年12月31日 0 点赞 0 评论 838 浏览 评分:9.9
2981: 二进制分类 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ //将1到1000的十进制转换为二进制 int a[1000]; int i,j; in…… 题解列表 2022年12月31日 0 点赞 0 评论 715 浏览 评分:9.9
巧用sort函数实现从大到小的排序输出!! 摘要:解题思路:用sort函数实现数组的从小到大排序,在逆序输出。使用sort函数需要导入头文件<algorithm>注意事项:参考代码:#include<iostream>using namespace …… 题解列表 2022年12月31日 0 点赞 0 评论 771 浏览 评分:9.9
Hello, World!的大小 摘要:##Hello, World!的大小 ```c #include int main() { char a[]="Hello, World!"; printf("%d",sizeof(a…… 题解列表 2023年01月01日 0 点赞 0 评论 2290 浏览 评分:9.9
题解 2832: 第n小的质数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void panduan(int n);int main(){ int n; scanf("%d",&n); pand…… 题解列表 2023年01月01日 0 点赞 0 评论 1103 浏览 评分:9.9
编写题解 1017: [编程入门]完数的判断 摘要:解题思路:注意事项:参考代码:// [编程入门]完数的判断 #include<stdio.h> int fun(int n); void func(int x); int main() { …… 题解列表 2023年01月01日 0 点赞 0 评论 602 浏览 评分:9.9
编写题解 2830: 数字统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int n,x,i,count=0,t; scanf("%d %d",&x,&n); …… 题解列表 2023年01月01日 0 点赞 0 评论 623 浏览 评分:9.9