摘要: 按照提议模拟即可,遍历一遍体重,二分找出大于x的大人和小于x的小孩的数量,最后的最大值就是答案。 #include <iostream> #include <algorithm> #include <vector> using namespace std; int max_(int a, int b 阅读全文
posted @ 2025-04-02 15:10 啦啦啦456123 阅读(17) 评论(0) 推荐(0)
摘要: 新的开始 加油 阅读全文
posted @ 2025-04-02 14:45 啦啦啦456123 阅读(13) 评论(0) 推荐(0)