新手查看满足条件的数累加 解题思路:注意事项:参考代码:这个是使用的是whileintmain(){intm=0;intn=0;scanf("%d%d",&m,&n);intsum=0;while(m<=n){if(m%17==0){sum+=m;}m++;}printf("%d\n", 题解列表 2025年06月15日 1 点赞 0 评论 436 浏览 评分:10.0
c++解法(新手) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c=0…… 题解列表 2025年06月15日 1 点赞 0 评论 377 浏览 评分:10.0
c++解法(新手) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d…… 题解列表 2025年06月15日 1 点赞 0 评论 388 浏览 评分:10.0
欢迎各位新手,哪里有不对的请多多包涵,一起学习一起努力 摘要:解题思路: 根据题目给出1<k<100,其中每个数都是大于等于1 小于等于10的数 …… 题解列表 2025年06月16日 2 点赞 0 评论 479 浏览 评分:10.0
与指定数字相同的数的个数 摘要:int main(){ int N = 0; int m = 0; scanf("%d %d", &N, &m); //读取整数 int count = 0; // 计…… 题解列表 2025年06月16日 0 点赞 0 评论 362 浏览 评分:10.0
新手乘方计算 摘要:# 这里使用的是for循环int main(){ int a = 0;int n = 0; scanf("%d %d", &a, &n); //判断n是否等于0 …… 题解列表 2025年06月16日 0 点赞 0 评论 435 浏览 评分:10.0
代码要求基础,新手就能懂 解题思路:自己看注意事项:没有参考代码:#include#includeintmain(){inti;charstr[3][100],string1[100],string2[100],string3[100];for(i=0;i<3;i++){gets(str[ 题解列表 2025年06月17日 2 点赞 1 评论 835 浏览 评分:10.0
分数线的划定很容易,就像她跟我划清界限一样 摘要:#include <stdio.h>#include <math.h>typedef struct{ &nbs…… 题解列表 2025年06月17日 3 点赞 1 评论 644 浏览 评分:10.0
报数问题(约瑟夫环问题) 摘要:```#include #include using namespace std;int findLastPerson (int n){ if(n1){ …… 题解列表 2025年07月02日 2 点赞 0 评论 700 浏览 评分:10.0
1676: 数据结构-链表的基本操作 自己记录 #include#include#include//定义链表类型typedefstructNode{intdata;structNode*next;}Node,*LinkedList;//初始化链表LinkedListListint(){Nod 题解列表 2025年07月09日 1 点赞 0 评论 604 浏览 评分:10.0