1029: [编程入门]自定义函数处理素数 摘要:解题思路:注意事项:这道题其实使用bool类型传回更好,在main方法输出比在方法中输出结构要更清晰一点参考代码:publicstaticvoidmain(Stri…… 题解列表 2025年04月16日 1 点赞 0 评论 216 浏览 评分:0.0
宏定义之闰年判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define LEAP_YEAR(y) (y%4==0&&am…… 题解列表 2025年04月16日 0 点赞 0 评论 172 浏览 评分:0.0
结构体之成绩统计 摘要:解题思路:注意事项:参考代码#include<bits/stdc++.h>using namespace std;struct student{ char ID[10]; char nam…… 题解列表 2025年04月16日 0 点赞 0 评论 239 浏览 评分:0.0
函数 宏定义 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;float ZD(int a,int b,int c){ if(b>…… 题解列表 2025年04月16日 0 点赞 0 评论 175 浏览 评分:0.0
c++--study||O.o 全排列枚举 摘要:解题思路:数据量最多只有10,考虑复杂度为阶乘的全排列模拟参考代码:#include<bits/stdc++.h>usingnamespacestd;&nb…… 题解列表 2025年04月16日 1 点赞 0 评论 176 浏览 评分:10.0
c++--study||O.o 深搜DFS(两种写法) 摘要:参考代码:利用设置外部变量#include<bits/stdc++.h>usingnamespacestd;intmain(){…… 题解列表 2025年04月16日 1 点赞 0 评论 230 浏览 评分:10.0
python--study||O.o 摘要:参考代码:a,b,m=map(int,input().split())print(pow(a,b,m))…… 题解列表 2025年04月16日 1 点赞 0 评论 152 浏览 评分:10.0
c++--study||O.o 摘要:参考代码:#include<bits/stdc++.h>usingnamespacestd;usingll=long…… 题解列表 2025年04月16日 1 点赞 0 评论 154 浏览 评分:10.0
c++--study||O.o 摘要:参考代码:#include<bits/stdc++.h>usingnamespacestd;usingll=long…… 题解列表 2025年04月16日 0 点赞 0 评论 231 浏览 评分:10.0
用链表排序,数组输出 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>typedef struc…… 题解列表 2025年04月15日 0 点赞 0 评论 181 浏览 评分:0.0