Alex0319
Alex0319
全部文章
题解
PAT(11)
poj(16)
算法(1)
归档
标签
去牛客网
登录
/
注册
欲买桂花同载酒,终不似,少年游
保持好奇,保持积极
全部文章
/ 题解
(共2篇)
poj1083 0ms
#include<cstdio> #include<cstring> #include<algorithm> using namespace std; //因为是同时搬运,记录每段走廊使用的次数,找出最大的*10就好 int main() { int t,...
poj
GREEDY
2019-08-22
0
539
poj2456 110ms 二分+贪心
#include<cstdio> #include<algorithm> //二分,很多需要注意的地方 const int Maxn = 1e5; int stalls[Maxn+5]; int n,c; int cnt,tmp; bool Judge(int dis) { ...
BinarySearch
poj
GREEDY
2019-08-19
0
579