码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
POJ 1988
#include#include#include#define MAXN 30005using namespace std;int place[MAXN];int up[MAXN];int pre[MAXN];void init(){ int i; for(i = 0; i >c; ...
分类:其他好文   时间:2015-06-10 17:15:21    阅读次数:105
POJ 1701
1 /* 2 Every tenant went up N floors would make the dissatisfied degree rise N * a + 0.5 * N * (N - 1) degrees, 3 every tenant went down N floors ...
分类:其他好文   时间:2015-06-10 17:09:41    阅读次数:143
svn 执行clear up 失败的解决办法
SVN 的clear up命令失败的解决方法   1、 下载  sqlite3.exe  文件,放到d盘根目录。(可以到这里下载   http://download.csdn.net/detail/u011096030/8792137)   2、 将磁盘的隐藏文件显示出来,进到svn的 .svn 文件夹,将  wc.db  复制到d盘根目录   3、在开始那里将cmd命令窗口调出来  ...
分类:其他好文   时间:2015-06-10 15:46:49    阅读次数:130
Android5.x 新控件之RecyclerView,CardView,Palette的使用
『转载注明出处:http://blog.csdn.net/feiduclear_up/article/details/46439005 CSDN废墟的树』自Android5.0发布以来,谷歌推出全新的Material Desigen设计风格,时过一年多了,在国内也看到很多应用在慢慢适应MD设计风格。其中比较好的app就是网易新闻客户端了,其设计风格基本符合MD要求。鉴于越来多App采用MD设计风格...
分类:移动开发   时间:2015-06-10 15:40:31    阅读次数:250
1-Two Sum
问题描述:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the t...
分类:其他好文   时间:2015-06-10 13:53:06    阅读次数:104
Leetcode[141]-Linked List Cycle
Given a linked list, determine if it has a cycle in it.Follow up: Can you solve it without using extra space?分析:设置两个临时指针,一个一次走一步,一个一次走两步,如果再次相遇,表示有环。Code(c++):/** * Definition for singly-linked list....
分类:其他好文   时间:2015-06-10 12:22:20    阅读次数:113
左偏树(DP)问题
问题:A straight dirt road connects two fields on FJ's farm, but it changes elevation more than FJ would like. His cows do not mind climbing up or down a...
分类:其他好文   时间:2015-06-10 11:46:29    阅读次数:112
Populating Next Right Pointers in Each Node I or II
Follow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any binary tree? Would your previous solution stil...
分类:其他好文   时间:2015-06-10 11:45:22    阅读次数:101
纯css制作三角形小记
个人理解,使用css画出三角形,其实控制的就是border。 下面效果分别是4个方向的三角形:/*向上*/ .triangle_border_up{ width:0; height:0; border-width:0 30px 30px; ...
分类:Web程序   时间:2015-06-10 10:25:03    阅读次数:77
java 中小数点的处理
第一种 BigDecimalbg=newBigDecimal(f);doublef1=bg.setScale(2,BigDecimal.ROUND_HALF_UP).doubleValue();System.out.println(f1);第二种DecimalFormat转换最简便DecimalFo...
分类:编程语言   时间:2015-06-10 10:07:34    阅读次数:150
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!