摘要:
题目链接:https://cn.vjudge.net/contest/242366#problem/L大体意思就是:h代表旅馆,m代表人,人每走动一个需要一个金币,行动只有两个方向,水平或者竖直。问你最终让所有人都能到达旅馆并且花的总费用最少。具体思路:一开始我是按照... 阅读全文
posted @ 2018-08-17 21:13
Let_Life_Stop
阅读(254)
评论(0)
推荐(0)
摘要:
模板题:#includeusing namespace std;int n,m;int a[11];void update(int t){ int i; while(t*2=1; i--) { update(i); }//数组下标... 阅读全文
posted @ 2018-08-17 11:29
Let_Life_Stop
阅读(166)
评论(0)
推荐(0)
摘要:
模板题:#includeusing namespace std;int n,m;int a[11];void update(int t){ int i; while(t*2=1; i--) { update(i); }//数组下标... 阅读全文
posted @ 2018-08-17 11:29
Let_Life_Stop
阅读(452)
评论(0)
推荐(0)
摘要:
#includeusing namespace std;double a[2000];int main(){ char c; double n; while(cin>>n) { a[0]=n; if(n==0) ... 阅读全文
posted @ 2018-08-17 08:44
Let_Life_Stop
阅读(115)
评论(0)
推荐(0)
摘要:
#includeusing namespace std;double a[2000];int main(){ char c; double n; while(cin>>n) { a[0]=n; if(n==0) ... 阅读全文
posted @ 2018-08-17 08:44
Let_Life_Stop
阅读(201)
评论(0)
推荐(0)

浙公网安备 33010602011771号