一直以来循环运用的都不是很好,所以昨天做了加强的练习。 题目:请将字符串open_my_door这种形式,转成OpenMyDoor的形式。 function changeForm() { var a = document.getElementById("d1").value; a = a.tri.....
分类:
其他好文 时间:
2015-03-09 09:15:53
阅读次数:
128
过程调用:
过程调用分为:
1.本地过程调用
2.远程过程调用(RPC)
远程过程调用有两种接口:
1.单台主机上的远程过程调用(solaris门)
2.主机间的远程过程调用(Sun RPC)...
分类:
其他好文 时间:
2015-02-28 20:23:48
阅读次数:
154
At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door. Given the records of signing in's and out's, you...
分类:
其他好文 时间:
2015-02-27 21:41:22
阅读次数:
243
链接:click here~~
题意:
描述
LK has a question.Coule you help her?
It is the beginning of the day at a bank, and a crowd of clients is already waiting for the entrance door to open.
Once the ban...
分类:
编程语言 时间:
2015-02-24 13:52:25
阅读次数:
210
At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door. Given the records of signing in's and out's, you...
分类:
其他好文 时间:
2015-02-24 12:38:14
阅读次数:
136
题目链接:
1300
题意:
一个房子中有(编号0~N-1)N个房间和X个连通两个房间的门,每次经过一扇门时这扇门会被关闭。问:一个人从M号房间出发能否成功到达0号房间并关闭所有门。
题解:
此题是欧拉回路的入门题,首先学习无向图欧拉回路的判断定理:
无向图G 存在欧拉通路的充要条件是:G 为连通图,并且G 仅有两个奇度结点(度数为奇数的...
分类:
其他好文 时间:
2015-02-15 06:13:01
阅读次数:
209
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=4808
Background
If thou doest well, shalt thou not be accepted? and if thou doest not well, sin lieth at the door. And unto thee shall...
分类:
其他好文 时间:
2015-02-04 18:37:27
阅读次数:
154
At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door...
分类:
其他好文 时间:
2015-02-04 09:21:25
阅读次数:
143
判断一些字符串能首尾相连连在一起并查集求欧拉回路和通路Sample Input32acmibm3acmmalformmouse2okokSample OutputThe door cannot be opened.Ordering is possible.The door cannot be ope...
分类:
其他好文 时间:
2015-02-01 21:42:23
阅读次数:
190
题目链接:http://poj.org/problem?id=1300You are a butler in a large mansion. This mansion has so many rooms that they are merely referred to by number (roo...
分类:
其他好文 时间:
2015-02-01 12:01:46
阅读次数:
251