When a student is too tired, he can't help sleeping in class, even if his favorite teacher is right here in front of him. Imagine you have a class of ...
分类:
其他好文 时间:
2015-05-19 16:20:56
阅读次数:
194
Problem:高效率实现“字符串中是否有重复字符”
Implement an algorithm to determine if a string has all unique characters. What if you
can not use additional data structures?
#include
#include
#include
#include
#include
#include
#incl...
分类:
其他好文 时间:
2015-05-19 13:14:16
阅读次数:
119
python xml处理中文时出现的错误,记录一下,以免忘记 "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 0: ordinal not in range(128)"解决办法,在该python文件的前面加上...
分类:
编程语言 时间:
2015-05-19 12:33:24
阅读次数:
136
在某服务器上用FileZillaServer搭建了一个FTP服务器。开始使用没有发现任何问题,后来在向服务器传送大文件的时候,发现总是传输到固定的百分比的时候出现”550can’taccessfile.”的错误,后来找到了解决方法如下。打开FileZillaServer的管理界面,Edit->Set...
分类:
数据库 时间:
2015-05-19 12:31:09
阅读次数:
1835
One can’t stress enough on the importance of backups and when it comes to tinkering with your Android phone, a backup of your system, recovery and boo...
分类:
移动开发 时间:
2015-05-19 08:51:37
阅读次数:
256
Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adjace...
分类:
编程语言 时间:
2015-05-19 00:25:26
阅读次数:
210
LPC1768的时钟源可以来自三个:
1)内部RC振荡器
内部振荡器可看作看门狗定时器的时钟源,也可作PLL0和cpu的时钟源,但是无法作为usb的时钟源,因为精度达不到。而且如果CAN波特率高于100kb/s,则也不适用了。在系统上电时,LPC1768都使用内部振荡器,直到软件将其切换为另一种可用的时钟源。
2)主振荡器
主振荡器可作为CPU的时钟源,需要通过分频和倍频进行配置使用。基本...
分类:
其他好文 时间:
2015-05-18 23:10:54
阅读次数:
1009
There are two standard ways of calling methods: obj.method(params) // dot notation
obj method (params) // operator notation The above can be modified in the following ways: If?params?is a sing...
分类:
其他好文 时间:
2015-05-18 21:18:36
阅读次数:
154
题目描述:
Given a 2D board and a word, find if the word exists in the grid.
The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or...
分类:
其他好文 时间:
2015-05-18 18:58:43
阅读次数:
118
目录目录
思路
思路
AC代码思路Design a data structure that supports the following two operations:
void addWord(word)
bool search(word)
search(word) can search a literal word or a regular expression string cont...
分类:
其他好文 时间:
2015-05-18 16:44:38
阅读次数:
156