码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
[BZOJ] 1636: [Usaco2007 Jan]Balanced Lineup
1636: [Usaco2007 Jan]Balanced Lineup Description For the daily milking, Farmer John's N cows (1 <= N <= 50,000) always line up in the same order. One ...
分类:其他好文   时间:2017-09-02 21:47:03    阅读次数:182
【Luogu】P1941飞扬的小鸟(DP)
我发现现在没了题解我做普及提高+的题也做不了 更不要说这些提高+难度的?题 此题是一个二维DP。暴力是三重循环ijk,k枚举在i位置上的点击次数。即 for(int i=1;i<=n;++i) for(int j=1;j<=m;++j) for(int k=1;j-k*up[i]>0;k++) f[ ...
分类:其他好文   时间:2017-09-02 20:00:18    阅读次数:152
LeetCode 167. Two Sum II - Input array is sorted (两数之和之二 - 输入的是有序数组)
Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. The function ...
分类:编程语言   时间:2017-09-02 11:24:16    阅读次数:211
【SVN】总结:svn“Previous operation has not finished; run 'cleanup' if it was interrupted“
svn执行clean up命令时报错“Previous operation has not finished; run 'cleanup' if it was interrupted”。无论你到那个父层次的目录执行“clean up “,都是报一样的错。执行cleanup时候,提示要cleanup。 ...
分类:其他好文   时间:2017-09-02 09:36:38    阅读次数:276
快速上手GitHub上传代码
要托管到github,那你就应该要有一个属于你自己的github帐号,所以你应该先到github.com注册 打开浏览器 在地址栏输入地址:github.com 填写用户名、邮箱、密码 点击Sign up即可简单地注册 2 完成注册,进入github平台, 点击new repositories 新建 ...
分类:Web程序   时间:2017-09-01 13:42:41    阅读次数:219
自我介绍
15级软件技术专业软件一班郑月、Good Good study!day day up !Ha~ Where there is a will there is a way ...
分类:其他好文   时间:2017-08-31 23:15:47    阅读次数:272
免费SSL证书申请
收费SSL证书对于个人来说还是略贵,本文将交大家申请免费的SSL证书。 打开申请网站 startssl.com 点击Sign-up注册 登录 申请证书 验证域名 申请证书 下载证书 在右侧的SSL/TLS Server点击您的证书即可开始下载 Nginx配置SSL nginx启用SSL配置 ...
分类:其他好文   时间:2017-08-31 14:38:02    阅读次数:116
photoshop 安装
Photoshop 下载: http://www.duote.com/soft/54352.html 下载完后解压选择..\Adobe CS6\Set-up.exe ,点击 Set-up.exe 文件进行安装,中间需要登录自己的 Adobe ID Adobe ID 可使用: 账号:upzycmao@ ...
分类:其他好文   时间:2017-08-31 14:30:27    阅读次数:210
[codeforces274b]Zero Tree(树形dp)
题意:给出一棵树,每个点有权值,每次操作可以对一个联通子集中的点全部加1,或者全部减1,且每次操作必须包含点1,问最少通过多少次操作可以让整棵树每个点的权值变为0. 解题关键:自底向上dp,记录up,down两个数组 代表u被加的次数和减的次数,以1为根,则 $up[u] = \max (up[v] ...
分类:其他好文   时间:2017-08-30 22:35:48    阅读次数:232
【洛谷P1948】[USACO08JAN]电话线Telephone Lines
题目描述 Farmer John wants to set up a telephone line at his farm. Unfortunately, the phone company is uncooperative, so he needs to pay for some of the c ...
分类:其他好文   时间:2017-08-30 19:57:33    阅读次数:154
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!