码迷,mamicode.com
首页 >  
搜索关键字:two points    ( 13225个结果
Max Points on a Line
Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line./** * Definition for a point. * struct Point { * ...
分类:其他好文   时间:2014-06-07 00:31:01    阅读次数:233
zoj 3791 An Easy Game dp
An Easy GameTime Limit: 2 Seconds Memory Limit: 65536 KBOne day, Edward and Flandre play a game. Flandre will show two 01-strings s1 and s2, the leng....
分类:其他好文   时间:2014-06-06 23:24:46    阅读次数:248
【Leetcode】Divide Two Integers
Divide two integers without using multiplication, division and mod operator. 1 class Solution { 2 public: 3 int divide(int dividend, int divisor) ...
分类:其他好文   时间:2014-06-06 17:40:07    阅读次数:193
Swift 枚举和结构
枚举 使用enum创建枚举——注意 Swift 的枚举可以关联方法: 1 enum Rank: Int { 2 case Ace = 1 case Two, Three, Four, Five, Six, Seven, Eight, Nine, Ten 3 case Jack, Q...
分类:其他好文   时间:2014-06-06 08:30:54    阅读次数:285
leetcode--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 two nu...
分类:其他好文   时间:2014-06-05 14:15:07    阅读次数:221
leetcode--Add Binary
Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".public class Solution { /**The program is us...
分类:其他好文   时间:2014-06-05 14:08:35    阅读次数:188
HTMLParser in python
You can know form the name that the HTMLParser is something used to parse HTML files. In python, there are two HTMLParsers. One is the HTMLParser clas...
分类:编程语言   时间:2014-06-05 12:46:16    阅读次数:1294
leetcode--Max Points on a Line
Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line.public class Solution { /** * This program is used t....
分类:其他好文   时间:2014-06-03 17:05:21    阅读次数:434
T端军衔系统c++源代码,转自飞狐魔兽
//自定义 -- 军衔 void Player::ModjunxianPrice() { uint32 Honorpoints = GetCurrency(CURRENCY_TYPE_HONOR_POINTS); uint32 Conquestpoints = Get...
分类:编程语言   时间:2014-06-02 19:03:26    阅读次数:342
指针和数组及内存管理
1. 指针和地址TCPL 中给指针的定义是: A pointer is a group of cells (often two or four) that can hold an address .int value = 10;int *pvalue = &value;上面这个语句的内存模型是:注意...
分类:其他好文   时间:2014-06-02 18:07:49    阅读次数:315
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!