码迷,mamicode.com
首页 >  
搜索关键字:size    ( 49122个结果
一个完整的使用成员函数指针的例子
Screen.h#ifndef SCREEN_H#define SCREEN_H#include class Screen {public: typedef std::string::size_type pos; // Action is a type that can point to...
分类:其他好文   时间:2014-06-04 20:59:09    阅读次数:350
[leetcode]Median of Two Sorted Arrays @ Python
原题地址:https://oj.leetcode.com/problems/median-of-two-sorted-arrays/题意:There are two sorted arrays A and B of size m and n respectively. Find the median...
分类:编程语言   时间:2014-06-04 18:52:31    阅读次数:356
Merge Sorted Array
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal...
分类:其他好文   时间:2014-06-04 18:18:08    阅读次数:259
用特殊字体来实现矢量ICON
用特殊字体来实现矢量ICONtips:其实每个icon都是一个unicode字符,所以,可以通过改变font-size实现icon的矢量放大;可以通过改变color实现多色系。
分类:其他好文   时间:2014-06-04 18:14:59    阅读次数:213
CSS技巧二
元素缩写font中属性的放置顺序是严格遵守的,否则不会生效。Font:font-stylefont-weightfont-sizefont-familiy;(注:font-size和font-family是font的必须属性,并且font-size一定要放在font-family的前面)Margin...
分类:Web程序   时间:2014-06-03 14:04:28    阅读次数:375
Sublime Text2 配置tab为2个空格
点击 Preference -> Settings-User1 "tab_size":2,2 "translate_tabs_to_spaces":true
分类:其他好文   时间:2014-06-03 12:05:22    阅读次数:165
leetcode -- Best Time to Buy and Sell Stock
class Solution {public: int maxProfit(vector &prices) { if(prices.size() == 0) return 0; vector f1(prices.size()); int minV = pri...
分类:其他好文   时间:2014-05-30 02:54:28    阅读次数:231
leetcode -- Best Time to Buy and Sell Stock II
class Solution {public: int maxProfit(vector &prices) { if(prices.size() == 0) return 0; vector f(prices.size()); f[0] = 0; ...
分类:其他好文   时间:2014-05-30 02:46:12    阅读次数:318
HDU 2253 Longest Common Subsequence Again
其实这个题我还不会,学长给了一个代码交上去过了,据说用到了一种叫做位压缩的技术,先贴代码吧,以后看懂了再来写#include #include #define M 30005#define SIZE 128#define WORDMAX 3200#define BIT 32char s1[M], s...
分类:其他好文   时间:2014-05-29 18:07:53    阅读次数:549
hash桶
1 #include 2 #include 3 #include "chain.c" //include the chain.c to create chain and list 4 #define NUMBER_SCOPE 69000 5 #define ARRAY_SIZE 10...
分类:其他好文   时间:2014-05-29 17:01:46    阅读次数:297
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!