http://poj.org/problem?id=1426DescriptionGiven a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representatio...
分类:
其他好文 时间:
2014-09-18 20:27:14
阅读次数:
244
1.document.write("");为输出语句2.JS中的注释为//3.传统的HTML文档顺序是:document->html->(head,body)4.一个浏览器窗口中的DOM顺序是:window->(navigator,screen,history,location,document)5...
分类:
Web程序 时间:
2014-09-18 18:38:34
阅读次数:
227
为了提高读写文件速度,linux系统采用一种页缓存机制。当应用程序调用read,write等函数读写文件时,系统并不立即与硬盘进行操作,而是查看需要读取的数据是否已在页缓存中,如不在,则从硬盘读龋当写入时,只是将数据写入至页缓存,然后使用系统进程pdflush根据一定算法写入至..
分类:
系统相关 时间:
2014-09-18 16:54:54
阅读次数:
179
题目:
Given two binary trees, write a function to check if they are equal or not.
Two binary trees are considered equal if they are structurally identical and the nodes have the same value.
刷题打卡中...
分类:
其他好文 时间:
2014-09-18 16:33:24
阅读次数:
205
Follow up for "Search in Rotated Sorted Array":What if duplicates are allowed?Would this affect the run-time complexity? How and why?Write a function ...
分类:
其他好文 时间:
2014-09-18 13:11:03
阅读次数:
135
MapFile是排序后的SequenceFile, 这个排序是由开发者来保证的, 不是内存实现.相当于对key作了一个分块索引, 只针对key.缺点1.文件不支持复写操作,不能向已存在的SequenceFile(MapFile)追加存储记录2.当write流不关闭的时候,没有办法构造read流。也就...
分类:
其他好文 时间:
2014-09-18 13:01:44
阅读次数:
171
一 . 获取客户端,服务器端信息: Response.Write("客户端信息:"); Response.Write("浏览器类型,版本:"); Response.Write(Request.Browser.Type); Response.Write("浏览...
分类:
Web程序 时间:
2014-09-18 12:47:53
阅读次数:
262
1:Shuffle Error: Exceeded MAX_FAILED_UNIQUE_FETCHES; bailing-out Answer:程序里面需要打开多个文件,进行分析,系统一般默认数量是1024,(用ulimit -a可以看到)对于正常使用是够了,但是对于程序来讲,就太少了。修改办法:....
分类:
其他好文 时间:
2014-09-18 11:16:33
阅读次数:
296
#!/bin/shDELDIR="/root/crontab_test/test"#3 minute agoDELTIME="-mmin +3"#delete file typeFILETYPE1="'*.txt'"FILETYPE2="'*.log'"#write to tmp filerm cr...
分类:
系统相关 时间:
2014-09-18 09:38:33
阅读次数:
210
一、要点阐述1,jQuery创建于2006年1月的一个开源项目,强调理念是“write less,do more”,压缩后大小30KB左右。、2,jQuery里的方法都被设计程自动操作对象集合,而非单独的对象。3,jq对象是jq对DOM对象进行包装后产生的对象,是一个类似数组的对象,可用[0]或ge...
分类:
Web程序 时间:
2014-09-18 02:00:23
阅读次数:
232