上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 138 下一页

2017年8月12日

#309 (div.2) A. Kyoya and Photobooks

摘要: 1.题目描写叙述:点击打开链接 2.解题思路:本题实质上在问:给定一个长为L的字符串,在26个字符中选一个字符插入该串。能够形成多少个新的字符串。这就是一个简单的计数问题,长度为L的字符串有L+1个空位能够插入,一共同拥有26*(L+1)个方法。考虑到同样字符的情况,要减去一个。一共同拥有L种反复的 阅读全文

posted @ 2017-08-12 18:23 wgwyanfs 阅读(103) 评论(0) 推荐(0) 编辑

WIN32 APPLICATION 程序加入图标的方法

摘要: 须要更改一个WIN32 APPLICATION project执行之后EXE的图标的方法例如以下: 因为WIN32 APPLICATION project開始的时候没有增加资源所以非常多人不知道如何向当中导入一张ICO图标详细方法例如以下 1、在菜单条占到 Insert -》Resource例如以下 阅读全文

posted @ 2017-08-12 09:39 wgwyanfs 阅读(181) 评论(0) 推荐(0) 编辑

<html>

摘要: Ellipsoid Problem Description Given a 3-dimension ellipsoid(椭球面) your task is to find the minimal distance between the original point (0,0,0) and poin 阅读全文

posted @ 2017-08-12 09:02 wgwyanfs 阅读(121) 评论(0) 推荐(0) 编辑

2017年8月11日

JAVA开发 - Spring MVC学习

摘要: Spring MVC 事实上就是一种java实现的web mvc设计模式的请求驱动类型的轻量级Web框架,就是用了MVC的架构模式思想。把Web层解耦,这样基于请求驱动指的就是请求-响应模型。 前端控制器是DispatcherServlet, 应用控制事实上是两部分:处理器映射器(Handler M 阅读全文

posted @ 2017-08-11 16:24 wgwyanfs 阅读(105) 评论(0) 推荐(0) 编辑

The Single Responsibility Principle

摘要: The Single Responsibility Principle Robert C. Martin (Uncle Bob) ONE OF THE MOST FOUNDATIONAL PRINCIPLES OF GOOD DESIGN IS: Gather together those thin 阅读全文

posted @ 2017-08-11 13:46 wgwyanfs 阅读(93) 评论(0) 推荐(0) 编辑

MSComDlg.CommonDialogserver不能创建对象错误的解决

摘要: 作者:朱金灿来源:http://blog.csdn.net/clever101 在JavaScript中弹出打开文件对话框,代码例如以下:var fileOpenDlg = new ActiveXObject("MSComDlg.CommonDialog"); 结果出现错误:解决的方法是: 假如是W 阅读全文

posted @ 2017-08-11 12:44 wgwyanfs 阅读(190) 评论(0) 推荐(0) 编辑

Hadoop的HA机制(Zookeeper集群+Hadoop集群)配置记录

摘要: 博主:hadoop_version=2.4.1 java_version=1.7 zooKeeper_version=3.4.5 Linux =CentOs 6.5 1.首先说明HA是什么? HA意为High Available。高可用性集群,是保证业务连续性的有效解决方式,一般有两个或两个以上的节 阅读全文

posted @ 2017-08-11 11:58 wgwyanfs 阅读(376) 评论(0) 推荐(0) 编辑

linux怎样查看port被谁占用

摘要: 使用 netstat 进行查看! >netstat -noap | grep 80 | grep tcp Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 74160 138880 127.0.0 阅读全文

posted @ 2017-08-11 10:39 wgwyanfs 阅读(146) 评论(0) 推荐(0) 编辑

hadoop配置说明

摘要: core-site.xml name value Description fs.default.name hdfs://hadoopmaster:9000 定义HadoopMaster的URI和port fs.checkpoint.dir /opt/data/hadoop1/hdfs/namesec 阅读全文

posted @ 2017-08-11 10:08 wgwyanfs 阅读(213) 评论(0) 推荐(0) 编辑

C#中的继承与多态还有接口

摘要: 简单继承最简单的三个类public class Animal { public Animal() { Debug.Log("Construct Animal!"); } }public class Mammal : Animal { public Mammal() { Debug.Log("Cons 阅读全文

posted @ 2017-08-11 08:17 wgwyanfs 阅读(243) 评论(0) 推荐(0) 编辑

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 138 下一页

导航