搬运自k&r习题解答: /*
* delete comment in C
*/
#include<stdio.h>
#define normal 0
void rcomment(int c);
void in_comment(void);
void echo_quote(int c);
main()
{
int c;
while ((c = getchar()...
分类:
编程语言 时间:
2014-09-07 17:22:35
阅读次数:
862
vim号称史上最好用的编辑器,学习曲线也是最陡的。找到一个很好的教程,消化一下做了点笔记。教程地址:http://coolshell.cn/articles/5426.html如果你不小心在练习时保存了文件,想知道保存在哪里,那么可以normal模式下输入 :pwd ,就可以打印出当前目录了。
分类:
其他好文 时间:
2014-09-07 11:00:44
阅读次数:
189
题目:A -TutorTime Limit:1000MSMemory Limit:65535KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionLilin was a student of Tonghua Normal University. ...
分类:
其他好文 时间:
2014-09-06 13:35:34
阅读次数:
258
1、sysman要先在SQL*Plus上解锁:(1)以"sysdba"的身份登录conn system/密码 as sysdba;(2)解锁alter user sysman account unlock;(3)提交修改commit;经过以上,sysman就可以在EM上以"NORMAL"身份登录了。...
分类:
其他好文 时间:
2014-09-04 23:29:00
阅读次数:
253
1.在normal mode下,tp button也是和其它触摸事件一样,以坐标形式的input_event进行上报。在初始化时会通过tpd_button_setting()函数根据定义在tpd_custom_XXX.h文件中的配置信息将虚拟按键的坐标信息写在/sys/board_properties/virtualkeys.mtk-tpd中。工作时,tp driver将按下的点的坐标进行上报,A...
分类:
移动开发 时间:
2014-09-04 09:46:47
阅读次数:
196
Method1: map :windo exe "normal \C-W>K"
Method2: map :windo wincmd K
Method3: map :call HorizontAll()
function! HorizontAll()
windo exe "normal \K"
endfunction
小结:
1 map {rhs} 的字串中,ctrl...
分类:
其他好文 时间:
2014-09-04 09:43:37
阅读次数:
158
(一)高斯低通滤波去噪 高斯低通滤波器(Gaussian Low Pass Filter)是一类传递函数为高斯函数的线性平滑滤波器。又由于高斯函数是正态分布的密度函数。因此高斯低通滤波器对于去除服从正态分布(Normal distribution)的噪声非常有效。一维高斯函数和二维高斯函数 (高.....
分类:
其他好文 时间:
2014-09-03 12:51:06
阅读次数:
259
参考:http://www.jb51.net/w3school/css/pr_dim_line-height.htmline-height 属性设置行间的距离(行高)。注释:不允许使用负值。值 描述normal 默认。设置合理的行间距。number 设...
分类:
Web程序 时间:
2014-09-03 01:26:57
阅读次数:
196
真郁闷,一道普通的搜索题 我拿dp的方法去做,结果一直TLE和WA
如果所有数的和为奇数,肯定没有正解。
14133454
10317
Equating Equations
Accepted
C++
0.102
2014-09-02 09:01:23
#include
#include
#include
#incl...
分类:
其他好文 时间:
2014-09-02 17:48:35
阅读次数:
225
word-wrap是控制换行的。使用break-word时,是将强制换行。中文没有任何问题,英文语句也没问题。但是对于长串的英文,就不起作用。word-break是控制是否断词的。normal是默认情况,英文单词不被拆开。break-all,是断开单词。在单词到边界时,下个字母自动到下一行。主要解决...
分类:
其他好文 时间:
2014-09-01 13:54:33
阅读次数:
584