题目链接:点击打开链接
Bob is a strategy game programming specialist. In his new city building game the gaming environment is as follows: a city is built up by areas, in which there are streets, trees, factor...
分类:
其他好文 时间:
2015-01-24 20:06:06
阅读次数:
160
hdu 4612 Warm up (带有重边的无向图Tarjan+树的直径) —— black 的专栏 ——waShaXiu...
分类:
其他好文 时间:
2015-01-24 17:27:49
阅读次数:
216
很多单片机都有低功耗模式, STM32 也不例外。在系统或电源复位以后,微控制器处于运行状态。运行状态下的 HCLK 为 CPU 提供时钟,内核执行程序代码。当 CPU 不需继续运行时,可以利用多个低功耗模式来节省功耗,例如等待某个外部事件时。用户需要根据最低电源消耗,最快速启动时间和可用的唤醒源等条件,选定一个最佳的低功耗模式。
STM32 的低功耗模式有 3 种:
1)睡眠模式...
分类:
其他好文 时间:
2015-01-24 17:24:31
阅读次数:
269
Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space?Has...
分类:
其他好文 时间:
2015-01-24 15:46:11
阅读次数:
118
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?思路:1.可以用hash表记录链表中每个节点的地址,然后遍历发现重复,即有环,否则到...
分类:
其他好文 时间:
2015-01-24 15:43:21
阅读次数:
166
第一篇 奋斗--When youfeel tired, it’s probably because you’re walking up an upwards slope in yourlife. Keep going, and you’ll soon realise that you’ve reached new heights. 感觉累的时候,也许你正处于人生的上坡路。坚持走下去,你就会发现到...
分类:
其他好文 时间:
2015-01-24 14:33:03
阅读次数:
109
The 3ds Max file format, not too much documentation to be found about it. There are some hints here and there about how it’s built up, but there exist...
分类:
其他好文 时间:
2015-01-24 12:50:15
阅读次数:
1122
总体概述:如果是双击事件要自己手动编写。如果是三击或更多次数可以借鉴google工程师提供的System.arraycopy(mHits, 1, mHits, 0, mHits.length-1);总结:给控件添加单击事件或触摸事件都要给该事件添加监听器一些常用方法汇总:SystemClock.up...
分类:
其他好文 时间:
2015-01-24 01:33:30
阅读次数:
172
参考:http://blog.csdn.net/xluren/article/details/38986667执行service network restart后出现如下错误FAILED:Bringing up interface eth0: Device eth0 does not seem to...
分类:
其他好文 时间:
2015-01-24 00:17:50
阅读次数:
157
Follow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions. 1 public class Solution { ...
分类:
其他好文 时间:
2015-01-23 22:56:59
阅读次数:
278