Number Sequence
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 33215
Accepted: 9490
Description
A single positive integer i is given. Write a program to f...
分类:
其他好文 时间:
2014-05-01 22:06:17
阅读次数:
437
The server network address “TCP://myserverAddress:50221″ cannot be reached or does not exist.
Check the network address name and that the ports for the local and remote endpoints are operational.
(Microsoft SQL Server, Error: 1418)...
分类:
Web程序 时间:
2014-05-01 18:35:53
阅读次数:
665
用于打开chrome浏览器中的"irc://*"#cp
/usr/share/applications/xchat.desktop
/home/zsj/.local/share/applications/irc.desktop#xdg-mime default irc.desktop
x-schem...
分类:
其他好文 时间:
2014-05-01 11:16:02
阅读次数:
617
转载自:http://blog.sina.com.cn/s/blog_7776b9d3010144f9.html在UNIX
系统中,一个进程结束了,但是他的父进程没有等待(调用wait / waitpid)他, 那么他将变成一个僵尸进程.
但是如果该进程的父进程已经先结束了,那么该进程就不会变成僵尸...
分类:
系统相关 时间:
2014-05-01 09:02:18
阅读次数:
441
当CPU发出写操作命令时,也要根据它产生的主存地址分为两种情形:一种是不命中时,只向主存写入信息,不必同时把这个地址单元所在的整块内容调入Cache中;另一种是命中时,这时会遇到如何保持Cache与主存的一致性问题,通常有三种处理方式:
1.直写式(write through)即CPU在向C...
分类:
其他好文 时间:
2014-05-01 03:57:54
阅读次数:
393
简介wait、notify、notifyAll是Java中3个与线程有关的方法,它们都是Object类中的方法。其中,wait方法有3个重载形式:1、wait()2、wait(long
timeout)3、wait(long timeout, int nanos) 这5个方法都是final方法。其中...
分类:
其他好文 时间:
2014-05-01 02:58:23
阅读次数:
376
javaScript 总结
1 Javascript的基本功能
写入HTML输出
document.write("This is a heading");
对事件作出反应
点击这里
改变HTML内容
x=document.getElementById("demo") //查找元素
x.innerHTML="Hello JavaScript"; //改变内容
改变HTML...
分类:
编程语言 时间:
2014-04-29 13:35:22
阅读次数:
417
链接:http://soj.me/show_problem.php?pid=1007
Description
Mo and Larry have devised a way of encrypting messages. They first decide secretly on the number of columns and write the message (letter...
分类:
其他好文 时间:
2014-04-29 13:23:21
阅读次数:
293
6.2.1 作用域和命名空间实例
下面的实例主要用来示范如何引用不同的作用域和命名空间,关键字global和nonlocalru如何影响变量绑定。
实例运行结果是:
After local assignment: test spam
After nonlocal assignment: nonlocal spam
After global assignment: no...
分类:
编程语言 时间:
2014-04-28 10:46:42
阅读次数:
356
paip.utf-8,unicode编码的本质输出unicode文件原理 python
#别的语言,java php都是unicode,走十python不一样.
#enddef
#todo write to unicode encode
fileHandle = open ( r"c:\fmtSmpEnRst.txt", 'w',encoding="UTF-16"...
分类:
编程语言 时间:
2014-04-28 10:28:42
阅读次数:
374