题目: 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 t...
分类:
其他好文 时间:
2014-04-30 03:20:07
阅读次数:
502
Listing 1: Setting up data binding for the
Rating
controlusingSystem.Windows.Controls;usingSystem.Windows.Data;usingMicrosoft.LightSwitch.Threading;na...
分类:
其他好文 时间:
2014-04-30 01:57:00
阅读次数:
517
输入模式的操作Home光标到行首End 光标到行尾Page Up和Page
Down上下翻页Delect删除光标位置的字符删除操作(命令模式使用)x删除光标处的单个字符dd删除光标所在行dw删除当前字符到单词尾包括空格的所有字符#x例如3x删除光标处向右的三个字符#dd例如3dd从当前行开始向下删除...
分类:
其他好文 时间:
2014-04-28 15:21:16
阅读次数:
588
此题AC率不怎么高,可能也是因为边界条件较多。我提交了好多次,例如没有考虑到将系数化为最简形式,没有考虑测试用例中有相同点的情况等。这个题目的有趣之处是在于直线的表示方法,选择哪种形式更合理,比较有特点。
分类:
其他好文 时间:
2014-04-28 05:57:55
阅读次数:
576
jni.c中注册中int register_android_boa(JNIEnv *env){
jclass clazz; static const char* const kClassName = "com/lxl/ledClass"; //命名的类
/* look up the class */...
分类:
编程语言 时间:
2014-04-27 23:43:52
阅读次数:
521
Page 6:Natural tendency in problem solving is
to pick the first solution that comes to mind and run with it. The disadvantage
of this approach is you ...
分类:
其他好文 时间:
2014-04-27 21:27:40
阅读次数:
510