洛谷 P1109 学生分组 题解
摘要:好了直接步入正题 题目很简单 我们要求多少次操作能让使 N组学生的人数都在 [L,R] 中。 首先我们不考虑输出 -1 的情况 2.我们考虑输出-1的情况 1 #include <iostream> 2 #include <algorithm> 3 using namespace std; 4 in
阅读全文
posted @ 2018-08-30 17:39
posted @ 2018-08-30 17:39
posted @ 2018-08-30 17:32
posted @ 2018-08-30 17:24