c++解法(新手) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d…… 题解列表 2025年06月15日 1 点赞 0 评论 433 浏览 评分:10.0
欢迎各位新手,哪里有不对的请多多包涵,一起学习一起努力 摘要:解题思路: 根据题目给出1<k<100,其中每个数都是大于等于1 小于等于10的数 …… 题解列表 2025年06月16日 2 点赞 0 评论 531 浏览 评分:10.0
与指定数字相同的数的个数 摘要:int main(){ int N = 0; int m = 0; scanf("%d %d", &N, &m); //读取整数 int count = 0; // 计…… 题解列表 2025年06月16日 0 点赞 0 评论 412 浏览 评分:10.0
新手乘方计算 摘要:# 这里使用的是for循环int main(){ int a = 0;int n = 0; scanf("%d %d", &a, &n); //判断n是否等于0 …… 题解列表 2025年06月16日 0 点赞 0 评论 493 浏览 评分: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 评论 914 浏览 评分:10.0
分数线的划定很容易,就像她跟我划清界限一样 摘要:#include <stdio.h>#include <math.h>typedef struct{ &nbs…… 题解列表 2025年06月17日 3 点赞 1 评论 690 浏览 评分:10.0
报数问题(约瑟夫环问题) 摘要:```#include #include using namespace std;int findLastPerson (int n){ if(n1){ …… 题解列表 2025年07月02日 2 点赞 0 评论 764 浏览 评分:10.0
1676: 数据结构-链表的基本操作 自己记录 #include#include#include//定义链表类型typedefstructNode{intdata;structNode*next;}Node,*LinkedList;//初始化链表LinkedListListint(){Nod 题解列表 2025年07月09日 1 点赞 0 评论 647 浏览 评分:10.0
题解 2749: Hello, World!史上最简单题 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ cout << "Hello world!…… 题解列表 2025年07月15日 3 点赞 0 评论 1522 浏览 评分:10.0
2025.7.16刷题记录 摘要:解题思路:运用math.h库中fmod函数对两个double类型进行取余注意事项:两个double类型不能用%取余 %g输出可以省略后面连续的0参考代码://计算两个双精度浮…… 题解列表 2025年07月16日 1 点赞 0 评论 628 浏览 评分:10.0