85E

构造 牛客小白月赛85E 烙饼

挺好一道题 我们设理想时间为 所有饼的总时长之和/锅数 向上取整 饼最大值和理想时间取最大值为答案,设答案为t 方案是顺序烙饼,每t时间切割一次放入新的锅里 #include<bits/stdc++.h> #define int long long using namespace std; int ......
烙饼 85E 85
共1篇  :1/1页 首页上一页1下一页尾页