码迷,mamicode.com
首页 > 其他好文
关于一直卡死的两段代码,望对LDD3有兴趣者戳开这个blog : )
想来都有点恨自己,前几个月遇到的"难题".还是没有解决.一直卡死,又找不出原因. 吐个槽,那些只贴代码不附上运行结果的toturial, 我表示...我就不明白,既然有些bloger代码都给出来了 让我这种渣渣看一下肿么用的会怎么样?看一下你运行结果会怎么样? ------------------------------------------------ 问题代码一: /***...
分类:其他好文   时间:2014-12-30 07:05:41    阅读次数:218
Kafka源代码导入Scala IDE
折腾了一晚,终于在Scala IDE(Eclipse加Sacla插件了)下可以看Apache Kafka工程的源代码了。        我的环境是:win7 32位,Scala IDE:4.0.0,Apache Kafka:0.8.1.1(加了一个0.8.2版本里的gradlew.bat文件) Scala IDE下载好后,我就开始找Apache Kafka的源代码。刚开始一直用...
分类:其他好文   时间:2014-12-30 07:04:16    阅读次数:1157
leetcode 171: Excel Sheet Column Number
Excel Sheet Column Number Total Accepted: 1643 Total Submissions: 3860 Related to question Excel Sheet Column Title Given a column title as appear in an Excel sheet, return its correspondin...
分类:其他好文   时间:2014-12-30 07:04:32    阅读次数:217
leetcode 160: Intersection of Two Linked Lists
Intersection of Two Linked Lists Total Accepted: 8676 Total Submissions: 32571 Write a program to find the node at which the intersection of two singly linked lists begins. For example, the...
分类:其他好文   时间:2014-12-30 07:05:06    阅读次数:172
leetcode 153: Find Minimum in Rotated Sorted Array
Find Minimum in Rotated Sorted Array Total Accepted: 21207 Total Submissions: 65855 Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might bec...
分类:其他好文   时间:2014-12-30 07:06:33    阅读次数:166
新浪微博数据挖掘菜谱之三: 搜索篇 (selenium)
新浪微博数据挖掘菜谱之三: 搜索篇 (selenium)...
分类:其他好文   时间:2014-12-30 07:04:37    阅读次数:310
OS X 下iso刻录U盘
1. 查看盘$diskutil list/dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme ...
分类:其他好文   时间:2014-12-30 07:05:40    阅读次数:173
LintCode-Sort Colors II
Given an array ofnobjects with k different colors (numbered from 1 to k), sort them so that objects of the same color are adjacent, with the colors in...
分类:其他好文   时间:2014-12-30 07:04:30    阅读次数:142
[leetcod] Clone Graph
题目:Clone an undirected graph. Each node in the graph contains alabeland a list of itsneighbors.OJ's undirected graph serialization:Nodes are labeled u...
分类:其他好文   时间:2014-12-30 07:03:08    阅读次数:208
LintCode-Search 2D Matrix II
Write an efficient algorithm that searches for a value in an m x n matrix, return the occurrence of it.This matrix has the following properties: * In....
分类:其他好文   时间:2014-12-30 07:02:58    阅读次数:233
加州大学伯克利分校Stat2.2x Probability 概率初步学习笔记: Section 4 The Central Limit Theorem
Stat2.2x Probability(概率)课程由加州大学伯克利分校(University of California, Berkeley)于2014年在edX平台讲授。PDF笔记下载(Academia.edu)SummaryStandard Error The standard error o...
分类:其他好文   时间:2014-12-30 07:03:54    阅读次数:254
[LeetCode#2]Add Two Numbers
The question:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices ...
分类:其他好文   时间:2014-12-30 07:01:44    阅读次数:170
当你学了现在的忘了前面的
我怀疑我的智商应该不是很高,要不然我也不会学的如此狼狈。虽然我总是能很好的理解现在所学的知识点,但是我就是记不住,当下次再次需要上次的知识点来解决问题的时候,我总是忘的差不多了,要不就是没把握和对不对的问题。 我的学习方法就是老师讲的时候听,一般来说我的理解能力还可以,老师讲的也可以的话,我能很好的...
分类:其他好文   时间:2014-12-30 07:00:22    阅读次数:169
static和final关键字
static:我们在两种特殊的情况下会使用static关键字:①我们想用一个存储区来保存一个特定的数据,无论要创建多少个对象,或者根本不创建对象。②我们需要一个特殊的方法,这个方法没有与类的任何一个方法相关联。public class StaticInJava { static int i =...
分类:其他好文   时间:2014-12-30 07:02:19    阅读次数:192
[LeetCode#1] Two Sum
The Problem:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices o...
分类:其他好文   时间:2014-12-30 07:00:19    阅读次数:201
Axiom3D:Ogre公告板集与合并批次
在上文中,我们把Ogre里的网格分解成点线面后,我们要完成一个新的功能,在点上突出显示. 得到顶点位置后,这个功能也就是一个很简单的事,最开始是每个顶点添加一个子节点,节点上添加一个圆点.foreach (var vect in this.Points){ var cEntity = ...
分类:其他好文   时间:2014-12-30 07:00:44    阅读次数:242
坑爹!
读到0x1A时,fread就认为结束!今天调到的bug,以解决unsigned int16 范围是从0-65535 十六进制是 0X0000 - 0XFFFFint16 范围是 -32768-32767 负数以补码方式储存对一个整数的补码再求补码,等于该整数自身。补码 = 反码+1-5的原码(100...
分类:其他好文   时间:2014-12-30 07:00:58    阅读次数:178
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!