计算机组成原理
分类:
其他 时间:
2015-03-26 17:07:41
收藏:
0 评论:
0 赞:
0 阅读:
272
Problem Description某省调查城镇交通状况,得到现有城镇道路统计表,表中列出了每条道路直接连通的城镇。省政府“畅通工程”的目标是使全省任何两个城镇间都可以实现交通(但不一定有直接的道路相连,只要互相间接通过道路可达即可)。问最少还需要建设多少条道路?Input测试输入包含若干测试用例...
分类:
其他 时间:
2015-03-26 17:06:50
收藏:
0 评论:
0 赞:
0 阅读:
252
题意:给你一个字符串,算它的值,单个值为1 连续的值为累加和。解题思路:水解题代码: 1 // BEGIN CUT HERE 2 /* 3 4 */ 5 // END CUT HERE 6 #line 7 "SquareScoresDiv2.cpp" 7 #include 8...
分类:
其他 时间:
2015-03-26 17:06:31
收藏:
0 评论:
0 赞:
0 阅读:
221
比如我们想查7136端口被哪一个程序占用1、cmd >> netstat -ano|findstr "7136" 记录下最后的PID,我本机是10492,当然在任务管理器里面通过查询PID为10492的进程也能查看到,但是进程太多不便于查找2、cmd >> tasklist|findstr "104...
分类:
其他 时间:
2015-03-26 17:06:00
收藏:
0 评论:
0 赞:
0 阅读:
89
Vbs中修改注册表的语句主要有:1、读注册表的关键词和值:可以通过把关键词的完整路径传递给wshshell对象的regread方法。例如:set ws=wscript.createobject("wscript.shell")v=ws.regread("HKEY_LOCAL_MACHINE\SOFT...
分类:
其他 时间:
2015-03-26 17:05:51
收藏:
0 评论:
0 赞:
0 阅读:
199
http://www.lydsy.com/JudgeOnline/problem.php?id=2286题意:n个点的边加权树,m个询问,每次询问给出的k个点与结点1分离的最小代价。(nusing namespace std;typedef long long ll;const int N=2500...
分类:
其他 时间:
2015-03-26 17:03:30
收藏:
0 评论:
0 赞:
0 阅读:
261
Socket的Channel在Selector上注册某一种动作,Selector通过select操作,监视所有在该Selector注册过的Channel的对应的动作,如果监测到某一对应的动作,则返回selectedKeys,自己手动取到各个SelectionKey进行相应的处理。当然NIO不仅可以接...
分类:
其他 时间:
2015-03-26 17:03:21
收藏:
0 评论:
0 赞:
0 阅读:
111
排火车Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeFZU 1884Description某天,Apple问起Gaga,”扑克牌排火车有没有玩过??”,”没有-_-“。App...
分类:
其他 时间:
2015-03-26 17:02:30
收藏:
0 评论:
0 赞:
0 阅读:
238
题目中并没有给出数据大小,所以应当考虑数据很大的时候,所以应当采用字符串的形式#includeusing namespace std;int main(){ char n[1000]={}; while(cin>>n&&n[0]!='0'){ int sum...
分类:
其他 时间:
2015-03-26 17:01:41
收藏:
0 评论:
0 赞:
0 阅读:
272
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Data; 6 using System.IO; 7 using ...
分类:
其他 时间:
2015-03-26 17:01:21
收藏:
0 评论:
0 赞:
0 阅读:
218
题目来自:http://www.cnblogs.com/wuyiqi/archive/2012/01/06/2315188.htmlKMP算法开始是判断字符串b是否是字符串a的子串,朴素的算法是枚举,时间复杂度O(m*n)然后KMP(三个人名字的缩写)发明了KMP算法使时间复杂度降到了O(m+n)但...
分类:
其他 时间:
2015-03-26 17:01:11
收藏:
0 评论:
0 赞:
0 阅读:
146
------------------------------------------------------------------------2 汉字编码表U+ 0 1 2 3 4 5 6 7 8 9 A B C D E F-------------------------------------...
分类:
其他 时间:
2015-03-26 17:00:51
收藏:
0 评论:
0 赞:
0 阅读:
837
Astrotrain概述Astrotrain是基于阿里巴巴开源项目RocketMQ进行封装的分布式消息中间件系统,提供集群环境下的消息生产和消费功能。RocketMQ介绍RocketMQ的物理部署结构Name Server 是一个几乎无状态节点,可集群部署,节点之间无任何信息同步。所有的主题和bro...
分类:
其他 时间:
2015-03-26 17:00:21
收藏:
0 评论:
0 赞:
0 阅读:
275
We would like to introduce Gradle to you, a build system that we think is a quantum leap for build technology in the Java (JVM) world. Gradle provides...
分类:
其他 时间:
2015-03-26 17:00:10
收藏:
0 评论:
0 赞:
0 阅读:
208
hadoop中MapReduce中压缩的使用及4种压缩格式的特征的比较
分类:
其他 时间:
2015-03-26 16:59:50
收藏:
0 评论:
0 赞:
0 阅读:
189
Not so MobileBefore being an ubiquous communications gadget, amobilewas just a structure made of strings and wires suspending colourfull things. This ...
分类:
其他 时间:
2015-03-26 16:59:40
收藏:
0 评论:
0 赞:
0 阅读:
261
int gcd(int a,int b){ if(b==0) return a; return gcd(b,a%b);}欧几里得欧几里得算法使计算两个数的最大公约数的传统算法,无论从理论还是效率上都是很好的算法。然而,当所给定的整数超出了计算机的表示能力,则计算过程就需要由用户来专...
分类:
其他 时间:
2015-03-26 16:59:00
收藏:
0 评论:
0 赞:
0 阅读:
130
原文链接:http://stackoverflow.com/questions/22822209/changing-project-port-number-in-visual-studio-2013大体思路:直接修改.sln文件的URL地址
分类:
其他 时间:
2015-03-26 16:58:10
收藏:
0 评论:
0 赞:
0 阅读:
400
$.ajax({ type : "get", async:false, url: "http://192.168.0.117/webST/HandlerTest.ashx", data:{typeab:"fgdsfg1131"}, dataType : "jsonp", jsonp: "callba...
分类:
其他 时间:
2015-03-26 16:58:00
收藏:
0 评论:
0 赞:
0 阅读:
374
People who know what they are talking about don't need PowerPoint. -------Steve Jobs这本书已读过不少于10次,尽管如此,仍愿意再读一次来完成这份读书...
分类:
其他 时间:
2015-03-26 16:57:50
收藏:
0 评论:
0 赞:
0 阅读:
229