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