In Keil C, it is necessary to implement char putchar(char c), or the powerful function printf would not work.
We should notice in here : new line command for serial output be "\r\n" (line feed:LF,...
分类:
其他好文 时间:
2015-04-29 07:18:43
阅读次数:
128
1 def page_should_not_contain_list(self, locator, message='', loglevel='INFO'): 2 """Verifies select list identified by `locator` is not ...
分类:
其他好文 时间:
2015-04-29 00:26:54
阅读次数:
134
1 def list_should_have_no_selections(self, locator): 2 """Verifies select list identified by `locator` has no selections. 3 4 Se...
分类:
其他好文 时间:
2015-04-29 00:25:09
阅读次数:
176
1 def list_selection_should_be(self, locator, *items): 2 """Verifies the selection of select list identified by `locator` is exactly `*it...
分类:
其他好文 时间:
2015-04-29 00:22:43
阅读次数:
260
题目: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...
分类:
其他好文 时间:
2015-04-28 22:37:57
阅读次数:
252
1 def page_should_contain_list(self, locator, message='', loglevel='INFO'): 2 """Verifies select list identified by `locator` is found fr...
分类:
其他好文 时间:
2015-04-28 22:32:35
阅读次数:
131
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserve the ...
分类:
其他好文 时间:
2015-04-28 22:27:52
阅读次数:
153
You should use either indexing or the subset function. For example :R> df df x y z u1 1 2 3 42 2 3 4 53 3 4 5 64 4 5 6 75 5 6 7 8Then you can use th.....
分类:
其他好文 时间:
2015-04-28 20:53:50
阅读次数:
167
Follow up for "Remove Duplicates":What if duplicates are allowed at mosttwice?For example,Given sorted array A =[1,1,1,2,2,3],Your function should ret...
分类:
其他好文 时间:
2015-04-28 18:13:26
阅读次数:
113
"Code should be written to minimize the time it would take for someone else to understand it."
日常工作的事实是: 写代码前的思考和看代码的时间远大于真正写的时间
读代码是很平常的事情,不论是别人的,还是自...
分类:
其他好文 时间:
2015-04-28 17:44:56
阅读次数:
151