码迷,mamicode.com
首页 >  
搜索关键字:i think i need a hou    ( 4897个结果
URAL 1033 Labyrinth(DFS)
Administration of the labyrinth has decided to start a new season with new wallpapers. For this purpose they need a program to calculate the surface area of the walls inside the labyrinth. This job ...
分类:其他好文   时间:2014-07-23 22:32:07    阅读次数:292
HDU4864:Task(贪心)
Problem Description Today the company has m tasks to complete. The ith task need xi minutes to complete. Meanwhile, this task has a difficulty level yi. The machine whose level below this task’s le...
分类:其他好文   时间:2014-07-23 16:36:41    阅读次数:208
LeetCode "ZigZag Conversion"
Nothing to hard to think. Just take care of boundary conditions.class Solution {public: string convert(string s, int nRows) { if(s.empty() |...
分类:其他好文   时间:2014-07-23 15:04:36    阅读次数:227
iOS: 学习笔记, Swift与Objective-C混用总结
Swift与Objective-C交互总结 在Swift中使用Objective-C(简单) 在创建OjbC文件时, XCode会提示创建XXX-Bridging-Header.h文件, 创建之 在创建的XXX-Bridging-Header.h上导入需要引入到Swift中的Objective-C类 #import "Need.h" 然后在Swfit中就能使用它了...
分类:移动开发   时间:2014-07-23 13:38:36    阅读次数:310
hdu1845 Jimmy’s Assignment --- 完备匹配
题意: 要求在一个特殊的图上找最大匹配,该图特点是:无向图,每个节点度数为3,是一个边双连通分量(the graph is 2-edge-connected (that is, at least 2 edges need to be removed in order to make the graph disconnected) 这一点是这样理解的把。。) 思路: 一般想法就直接建图求最大匹...
分类:其他好文   时间:2014-07-23 13:22:07    阅读次数:207
HDU1065 I Think I Need a Houseboat 【数学递推】
I Think I Need a Houseboat Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 9530    Accepted Submission(s): 2733 Problem Description ...
分类:其他好文   时间:2014-07-23 13:13:06    阅读次数:321
A Simple Problem with Integers
DescriptionYou haveNintegers,A1,A2, ... ,AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each ...
分类:其他好文   时间:2014-07-23 11:31:26    阅读次数:269
HDU 4864(多校)1004 Task
Problem Description Today the company has m tasks to complete. The ith task need xi minutes to complete. Meanwhile, this task has a difficulty level yi. The machine whose level below this task’s le...
分类:其他好文   时间:2014-07-22 23:57:27    阅读次数:601
JavaScript Patterns 6.7 Borrowing Methods
You want to use just the methods you like, without inheriting all the other methods that you’ll never need. This is possible with the borrowing method...
分类:编程语言   时间:2014-07-22 22:41:33    阅读次数:291
LeetCode "Unique Paths"
Now I believe thoughts leading to DP is brutal DFS.. DFS is brutal force enumeration, but that's too much and naive. We need pruning. So, DFS + Prunin...
分类:其他好文   时间:2014-07-22 22:40:34    阅读次数:183
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!