码迷,mamicode.com
首页 >  
搜索关键字:two points    ( 13225个结果
poj 3349 -- Snowflake Snow Snowflakes
Snowflake Snow SnowflakesTime Limit: 4000MSMemory Limit: 65536KTotal Submissions: 30652Accepted: 8076DescriptionYou may have heard that no two snowfla...
分类:其他好文   时间:2014-07-24 10:04:03    阅读次数:283
Add Two Numbers leetcode java
题目:You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a sin....
分类:编程语言   时间:2014-07-24 10:01:23    阅读次数:223
[leetcode]Gray Code
Gray CodeThe gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the tot...
分类:其他好文   时间:2014-07-24 00:53:27    阅读次数:198
Two Sum
1.hashMap方法O(n)空间换时间public class Solution { public int[] twoSum(int[] numbers, int target) { HashMap hash=new HashMap(); int ans[]=ne...
分类:其他好文   时间:2014-07-23 22:20:57    阅读次数:262
RH network
#Red hat enterprise linux variants ##Two install sets available ##两种安装方案 ###Server rhel server rhea advanced platform ###Desktop rhel desktop workstation option Multi-OS option ##RH network #...
分类:Web程序   时间:2014-07-23 21:33:26    阅读次数:283
[leetcode]Add Two Numbers
Add Two NumbersYou are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes co...
分类:其他好文   时间:2014-07-23 16:51:51    阅读次数:251
POJ 3090 Visible Lattice Points 欧拉函数
#include #include using namespace std;//点(x,y)可见当且仅当x,y互质,那么我仅仅只要知道int euler(int x){// 就是公式 int i, res=x,tmp; tmp= (int)sqrt(x * 1.0) + 1; fo...
分类:其他好文   时间:2014-07-23 16:26:41    阅读次数:218
【leetcode刷题笔记】Scramble String
Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representation...
分类:其他好文   时间:2014-07-23 15:06:06    阅读次数:320
LeetCode "Copy List with Random Pointer"
Two passes: all pointer linking info will be recorded in 1st pass - to hashmap; 2nd pass recover the pointer relationship from hashmap.1A!class Soluti...
分类:其他好文   时间:2014-07-23 14:59:26    阅读次数:209
UVA 5788 Wally World
地址:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=3799 Two star-crossed lovers want to meet. The two lovers are standing at distinct points in t...
分类:其他好文   时间:2014-07-23 13:29:04    阅读次数:242
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!