摘要: A 分析 我们可以尝试依次把每一只小猫分配到一辆已经租用的缆车上,或者租用一辆缆车安置这种小猫 AC代码 #include<iostream> #include<algorithm> #define N 20 using namespace std; int n,m; int cat[N],sum[ 阅读全文
posted @ 2022-01-28 13:04 szf45 阅读(78) 评论(0) 推荐(0)
摘要: A 分析 下边比上边大就换 AC代码 #include<iostream> #include<algorithm> using namespace std; const int N=10010; int n,t,max1,max2; int a[N],b[N]; int main() { cin>> 阅读全文
posted @ 2022-01-28 13:01 szf45 阅读(28) 评论(0) 推荐(0)