题解列表

筛选

1020: [编程入门]猴子吃桃的问题

摘要:解题思路:注意事项:注意count要从1开始,因为假设有10个桃子,第一天吃了5+1个,余4个;那第二天吃了2+1个,余1个;第三天想吃的时候是发现只有1个了,所以这这里要多1参考代码:public ……

为什么这个可以全过啊?

摘要:解题思路:注意事项:参考代码: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……