201909-1 小明种苹果 试题编号: 201909-1 试题名称: 小明种苹果 时间限制: 2.0s 内存限制: 512.0MB 问题描述: 解题过程 按照题意直接求解即可,这里采用结构体排序的方法得出最终结果。 AC代码 #include<iostream> #include<algorithm> using namespace std; struct Tree { int apple;//苹果数 int shu=0;