Implement a basic calculator to evaluate a simple expression string.The expression string may contain open(and closing parentheses), the plus+or minus...
分类:
其他好文 时间:
2015-07-23 13:35:37
阅读次数:
109
在我们玩wcf的时候,都会潜意识的觉得wcf就是通过soap协议交换消息的,并且可以在basic,tcp,msmq等等绑定中任意切换,牛逼的一塌糊涂,但是呢,如果说哪一天wcf不再使用soap协议,而是采用json格式的字符串,是不是有一点颠覆你对wcf的认识的???从传统意义上说,wc...
分类:
其他好文 时间:
2015-07-23 06:35:06
阅读次数:
118
STM8常用中断指令
开总中断
_asm(“rim”);
禁止中断
_asm(“sim”);
进入停机模式
_asm(“halt”);
中断返回
_asm(“iret”);
等待中断
_asm(“wfi”);
软件中断
_asm(“trap”);
STM8S常用中断映射如使用中断函数时,可以通过在上图中查找相对应的中断向量号,而中断函数的名字可以自定义/* BASIC INTERRUP...
分类:
其他好文 时间:
2015-07-21 20:43:45
阅读次数:
348
Intuition: 2D DP. Basic idea: compose square at dp[i][j] from dp[i-1][j-1]. You need 2 facility 2D matrix: accumulated horizontal\vertical number of 1...
分类:
其他好文 时间:
2015-07-21 14:37:44
阅读次数:
79
1. 获取IOS APP占用的内存#import // ...void report_memory(void) { struct task_basic_info info; mach_msg_type_number_t size = sizeof(info); kern_return_t ke...
分类:
移动开发 时间:
2015-07-21 12:23:55
阅读次数:
220
原文链接:http://scikit-learn.github.io/dev/tutorial/basic/tutorial.html章节内容在这个章节中,我们主要介绍关于scikit-learn机器学习词库,并且将给出一个学习样例。机器学习:问题设置通常,一个学习问题是通过一系列的n个样本数据来学习然后尝试预测未知数据的属性。如果每一个样本超过一个单一的数值,例如多维输入(也叫做多维数据),那么它...
分类:
其他好文 时间:
2015-07-20 23:43:35
阅读次数:
174
Implement a basic calculator to evaluate a simple expression string.The expression string contains only non-negative integers, +, -, *, / operators and empty spaces . The integer division should trunca...
分类:
其他好文 时间:
2015-07-20 19:41:19
阅读次数:
111
Young theoretical computer scientist wyh2000 is teaching young pupils some basic concepts about strings.A subsequence of a stringsis a string that can...
分类:
其他好文 时间:
2015-07-20 15:52:23
阅读次数:
87
Vbs 一个 Windows 脚本,其代表 :Microsoft Visual Basic Script Editon.( 微软可视化BASIC 脚本版),VBS 是 Visual Basic 的的一个抽象子集。是系统内置的,用它编写的脚本代码不能编译成二进制文件,直接由 Windows 系统运行(...
分类:
其他好文 时间:
2015-07-19 21:33:53
阅读次数:
113
《SICP?2.1 数据抽象简介》看得不爽,吐槽一下。
The basic idea of data abstraction is to structure the programs that are to use compounddata objects so that they operate on ''abstract data.'' 接口操作于抽象数据。
At the same ...
分类:
其他好文 时间:
2015-07-18 18:38:58
阅读次数:
104