Gray CodeThe gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the tot...
分类:
其他好文 时间:
2014-07-24 00:53:27
阅读次数:
198
A method is presented for finding a shortest path from a starting place to a destination place in a traffic network including one or more turn restric...
分类:
Web程序 时间:
2014-07-24 00:50:17
阅读次数:
422
Pebble
Solitaire
Pebble solitaire is an interesting game. This is a game where you are given a board with an arrangement of small cavities, initially all but one occupied by a pebble each. The...
分类:
其他好文 时间:
2014-07-23 22:38:37
阅读次数:
344
http://blog.csdn.net/qwert1213131/article/details/38068379
本文属于个人理解,能力有限,纰漏在所难免,还望指正!
【小鱼有点电】
【Espruino中文社区】
本节内容主要是讲如何用平板电脑调试Espruino,附带一个例子,调试74hc595芯片(下节内容再讲)。我用的是nexus 7平板,使用OTG线连接你的开发...
分类:
其他好文 时间:
2014-07-23 21:05:14
阅读次数:
284
Agri-Net
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 38918
Accepted: 15751
Description
Farmer John has been elected mayor of his town! One of h...
分类:
Web程序 时间:
2014-07-23 17:08:01
阅读次数:
224
Problem A: Tower of Cubes
In this problem you are given N colorful cubes each having a distinct weight. Each face of a cube is colored with one color. Your job is to build a tower using th...
分类:
其他好文 时间:
2014-07-23 17:07:51
阅读次数:
251
Mergeksorted linked lists and return it as one sorted list. Analyze and describe its complexity.题解:最开始用了最naive的方法,每次在k个链表头中找出最小的元素,插入到新链表中。结果果断TLE了。分析...
分类:
其他好文 时间:
2014-07-23 16:56:31
阅读次数:
227
原始题目例如以下,意为寻找数组和最大的子串,返回这个最大和就可以。Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, ...
分类:
其他好文 时间:
2014-07-23 15:45:59
阅读次数:
246
Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representation...
分类:
其他好文 时间:
2014-07-23 15:06:06
阅读次数:
320
在项目中用到了一对多的实体类关系映射,之前接触的都是基于配置文件的映射实现,但是公司的大部分都是基于注解的,因此自己参考之前的代码捣鼓了基于注解的一对多的映射关系实现。
背景:
一的一端:QingAoCenterInfo:青奥场所信息,
多的一端:QingAoPlaceInfo:青奥场馆信息,
其中一个青奥场所下可以包含多个青奥场馆
one端:QingAoCenterIn...
分类:
系统相关 时间:
2014-07-23 13:10:46
阅读次数:
246