题解列表

筛选

为什么这个可以全过啊?

摘要:解题思路:注意事项:参考代码:import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamRe……

1737: 二叉搜索树

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;structNode{&nb……

用链表排序,数组输出

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

函数 宏定义

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

结构体之成绩统计

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

宏定义之闰年判断

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

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

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