题解列表

筛选

1029: [编程入门]自定义函数处理素数

摘要:解题思路:注意事项:这道题其实使用bool类型传回更好,在main方法输出比在方法中输出结构要更清晰一点参考代码:publicstaticvoidmain(Stri……

宏定义之闰年判断

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define LEAP_YEAR(y) (y%4==0&&am……

结构体之成绩统计

摘要:解题思路:注意事项:参考代码#include<bits/stdc++.h>using namespace std;struct student{ char ID[10]; char nam……

函数 宏定义

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;float ZD(int a,int b,int c){ if(b>……

c++--study||O.o 全排列枚举

摘要:解题思路:数据量最多只有10,考虑复杂度为阶乘的全排列模拟参考代码:#include<bits/stdc++.h>usingnamespacestd;&nb……

python--study||O.o

摘要:参考代码:a,b,m=map(int,input().split())print(pow(a,b,m))……

c++--study||O.o

摘要:参考代码:#include<bits/stdc++.h>usingnamespacestd;usingll=long……

c++--study||O.o

摘要:参考代码:#include<bits/stdc++.h>usingnamespacestd;usingll=long……

用链表排序,数组输出

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>typedef struc……