如何成为一个优秀的程序员导读:本文是由作者Jason Rudolph发表的一篇博文《Programming Achievements: How to Level Up as a Developer》翻译而来。文章内容如下:一个优秀的程序员如何能练就成一个卓越的程序员?先等等,暂时不谈卓越,先谈谈如何...
分类:
其他好文 时间:
2015-03-03 13:29:54
阅读次数:
191
在linux中碰到设置虚拟路径失败的情况。我找到了3篇文章,有时间我看看。 http://www.linux.com/news/enterprise/systems-management/8202-how-to-set-up-apache-virtual-hosting https://wiki.archlinux.org/ind...
分类:
Web程序 时间:
2015-03-03 11:59:47
阅读次数:
183
题目链接:Rotate Image
You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).
Follow up:
Could you do this in-place?
这道题的要求是将n*n的矩阵顺时针旋转90°,要求原地旋转,即不申请额外空间...
分类:
其他好文 时间:
2015-03-03 11:52:31
阅读次数:
269
题目:有一些石头,每块石头有一个价值价值(1~6中的一个整数),现在把石头分成两组,
问能否分成价值和相同的两组。
分析:dp,01背包。背包容量为总和的一半,判断能否放满即可。
说明:数据较大,使用二进制拆分╮(╯▽╰)╭。
#include
#include
#include
using namespace std;
int f[60001],c[6]...
分类:
其他好文 时间:
2015-03-03 11:48:31
阅读次数:
140
在 Material Design 釋出後,Google 也開始陸續更新了Google app 的介面,讓大家有個範例可以看。而過去大力推動的actionbar 自然而然也成了眾開發者觀注的部份;其中的 up button的設定在前一篇所介紹的Toolbar也已看到。這邊還未提到的一個部份是 mat...
分类:
移动开发 时间:
2015-03-03 11:24:47
阅读次数:
190
Problem Description:
The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, and the doggie could feel the ground sinking. He...
分类:
其他好文 时间:
2015-03-02 19:07:09
阅读次数:
178
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 n...
分类:
其他好文 时间:
2015-03-02 16:24:23
阅读次数:
129
Android Touch事件分发详解先说一些基本的知识,方便后面分析源码时能更好理解。
- 所有Touch事件都被封装成MotionEvent对象,包括Touch的位置、历史记录、第几个手指等.
事件类型分为ACTION_DOWN,ACTION_UP,ACTION_MOVE,ACTION_POINTER_DOWN,ACTION_POINTER_UP,ACTION_CANCEL, 每个
一个完整...
分类:
移动开发 时间:
2015-03-02 13:16:56
阅读次数:
2383
Today I saw new progress in RNN attention mechism. But I cannot understad the paper. I must spend more time on this. I must hurry up.I refine the sequ...
分类:
其他好文 时间:
2015-03-01 22:15:05
阅读次数:
140
1.两张图片start-up code:相当于程序和操作系统之间的接口。object code:中间代码,它的形式有多种选择,一般是机器语言代码。使用compiler和linker便于程序模块化,可以分别编译各模块,然后通过linker结合。如果改变一个模块,则不必重新编译所有其他模块。Unix C...
分类:
其他好文 时间:
2015-03-01 16:55:52
阅读次数:
131