题目:
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 single digit. Add the two numbers and return it ...
分类:
其他好文 时间:
2015-04-04 21:16:34
阅读次数:
139
高级特性:
SIMD single instruction multiple data
单指令多数据
SIMD扩展 Streaming SIMD Extension (SSE)
流化扩展第二实现 SSE2
第三 SSE3
MMX 对整数执行SIMD操作
64位打包字节,字,双字整数,
MMx 0-7 映射到FPU寄存器R0-7
使用...
分类:
其他好文 时间:
2015-04-04 09:21:12
阅读次数:
243
Deck
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 1299 Accepted Submission(s): 749
Problem Description
A single playing card can ...
分类:
其他好文 时间:
2015-04-04 09:13:29
阅读次数:
135
Given 2*n + 2 numbers, every numbers occurs twice except two, find them.ExampleGiven [1,2,2,3,4,4,5,3] return 1 and 5ChallengeO(n) time, O(1) extra sp...
分类:
其他好文 时间:
2015-04-04 06:49:31
阅读次数:
165
Given an array of integers, every element appearstwiceexcept for one. Find that single one.给出一组数据,每个元素出现两次,除了一个元素之外,找到那个出现一次的元素。思路:a^b=b^a 所以 假设 把所有相同...
分类:
其他好文 时间:
2015-04-03 22:20:06
阅读次数:
112
在Python中,字符串对应对象str,字符串是使用Unicode编码的不可变序列。
构造字符串
字符串可以使用下面几种语法:
1)单引号:'allows embedded "double" quotes'
2)双引号:"allows embedded 'single' quotes"
3)三引号:'''Three single quotes''', """Thr...
分类:
编程语言 时间:
2015-04-03 17:23:17
阅读次数:
200
热爱生活、享受娱乐、专注技术,欢迎关注微信公众号QGer,我们一起见证成长!
什么是单一职责原则?
- 官方解释:一个类应该只有一种改变的原因
- 通俗解释:一个类被修改、拓展的时候,应该只能因为一种职责(功能)的扩展,而不应该有第二种职责导致类的修改,一个也不能有另一种职责存在。为什...
分类:
其他好文 时间:
2015-04-03 15:32:33
阅读次数:
120
Given an array of integers, every element appearsthreetimes except for one. Find that single one./** * 将整数所有位相加对3取余,剩下的就是只出现一次的数 * @param A ...
分类:
其他好文 时间:
2015-04-03 09:07:43
阅读次数:
121
String
XML resource that provides a single string.
String Array
XML resource that provides an array of strings.
Plurals
XML resource that carries different strings for different pluralizations of the same...
分类:
移动开发 时间:
2015-04-03 00:20:33
阅读次数:
140
本文主要介绍导向滤波,但是在网上看这算法还能去雾,不知道是怎么实现的,希望过来人指点迷津
论文主要如下:
Kaiming He, Jian Sun, Xiaoou Tang. Single Image Haze Removal Using Dark Channel Prior
大致内容是提出了一个叫做暗原色先验的东西来对有雾图像进行处理,十分巧妙,有兴趣者可以看看。这里使用Open...
分类:
编程语言 时间:
2015-04-03 00:18:33
阅读次数:
2750