摘要: A - A 题意:有n个学生,名字首字母相同的学生会很健谈,把学生分到两个班,使健谈的学生对数最少 题解:将首字母相同的学生尽可能的平均分到两组。 #include<iostream> #include<cstdio> using namespace std; int f(int m){ int a 阅读全文
posted @ 2021-03-06 17:53 Endeavo_r 阅读(55) 评论(0) 推荐(0)