欢迎各位新手,哪里有不对的请多多包涵,一起学习一起努力 摘要:解题思路: 根据题目给出1<k<100,其中每个数都是大于等于1 小于等于10的数 …… 题解列表 2025年06月16日 2 点赞 0 评论 322 浏览 评分:10.0
与指定数字相同的数的个数 摘要:int main(){ int N = 0; int m = 0; scanf("%d %d", &N, &m); //读取整数 int count = 0; // 计…… 题解列表 2025年06月16日 0 点赞 0 评论 249 浏览 评分:10.0
新手乘方计算 摘要:# 这里使用的是for循环int main(){ int a = 0;int n = 0; scanf("%d %d", &a, &n); //判断n是否等于0 …… 题解列表 2025年06月16日 0 点赞 0 评论 298 浏览 评分:10.0
代码要求基础,新手就能懂 摘要:解题思路:自己看注意事项:没有参考代码:#include<stdio.h>#include<string.h>int main(){ int i; char str[3][10…… 题解列表 2025年06月17日 2 点赞 1 评论 673 浏览 评分:10.0
分数线的划定很容易,就像她跟我划清界限一样 摘要:#include <stdio.h>#include <math.h>typedef struct{ &nbs…… 题解列表 2025年06月17日 3 点赞 1 评论 456 浏览 评分:10.0
报数问题(约瑟夫环问题) 摘要:```#include #include using namespace std;int findLastPerson (int n){ if(n1){ …… 题解列表 2025年07月02日 1 点赞 0 评论 512 浏览 评分:10.0
1676: 数据结构-链表的基本操作 自己记录 摘要:#include<stdio.h>#include<stdlib.h>#include<string.h>//定义链表类型typedef struct Node{&…… 题解列表 2025年07月09日 1 点赞 0 评论 429 浏览 评分:10.0
题解 2749: Hello, World!史上最简单题 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ cout << "Hello world!…… 题解列表 2025年07月15日 2 点赞 0 评论 1094 浏览 评分:10.0
2025.7.16刷题记录 摘要:解题思路:运用math.h库中fmod函数对两个double类型进行取余注意事项:两个double类型不能用%取余 %g输出可以省略后面连续的0参考代码://计算两个双精度浮…… 题解列表 2025年07月16日 1 点赞 0 评论 362 浏览 评分:10.0
简单输入输出 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10]; for(int i=0;i…… 题解列表 2025年07月18日 1 点赞 0 评论 556 浏览 评分:10.0