首页 > 其他
LeetCode--Reverse Words in a String
Given an input string, reverse the string word by word. For example, Given s = "the sky is blue", return "blue is sky the". click to show clarification. Clarification: What constitutes...
分类:其他   时间:2015-01-15 18:24:47    收藏:0  评论:0  赞:0  阅读:303
文本查询小例子---涉及多态 句柄类
最近实现了c++prime上的文本查询的小例子,见第四版15章最后一节。涉及到了多态,句柄类,故在此给出实现的源代码,以便后续查看。 一:系统要求: 图片无法上传---待传 二:代码 (1)queryWord.h ------------queryWorld是真正用来实现保存的数据结构及查询操作的。 #ifndef QUERYWORD #define QUERYWORD #include...
分类:其他   时间:2015-01-15 18:24:38    收藏:0  评论:0  赞:0  阅读:219
想学习SharePoint,需要准备哪些方面的准备?--写给SharePoint新人
如果你是一个纯的SharePoint新手,想从事SharePoint行业,那么应该准备哪些技术呢?...
分类:其他   时间:2015-01-15 18:24:07    收藏:0  评论:0  赞:0  阅读:238
Linked List {singly linked list -> doubly linked list -> circular linked list}
Linked List...
分类:其他   时间:2015-01-15 18:23:58    收藏:0  评论:0  赞:0  阅读:215
POJ1177----Picture
Picture Time Limit: 2000MS   Memory Limit: 10000K Total Submissions: 10727   Accepted: 5662 Description A number of rectangular posters, photographs and other pictures of t...
分类:其他   时间:2015-01-15 18:22:28    收藏:0  评论:0  赞:0  阅读:278
开关按钮实现
1、原理和效果图 总共有两张图片,一张背景图片,一张遮罩图片。背景图片有开关字样,通过遮住一个字来实现开关按钮。继承自View控件,通过Canvas和Paint结合来实现图片的绘制。 通过canvas的drawBitmap方法和距离左边的位置来绘制图片,调用invalidate方法来不断的更新UI,就可以实现滑动的效果。 public class MyToggleButton exten...
分类:其他   时间:2015-01-15 18:21:48    收藏:0  评论:0  赞:0  阅读:278
Xcode 工程文件打开不出来, cannot be opened because the project file cannot be parsed.
svn更新代码后,打开xcode工程文件,会出现  xxx..xcodeproj  cannot be opened because the project file cannot be parsed.   因为.xcodeproj工程文件冲突了,然后还是会强制更新,内部文件出现了冲突,所以解析不了文件。  会出现这样的冲突消息                 3D52FCFF...
分类:其他   时间:2015-01-15 18:21:38    收藏:0  评论:0  赞:0  阅读:260
centos6上增加磁盘配额限制
建五个用户,均需要进行磁盘配额限制,每个用户的配额为 10MB (hard) 以及 8MB (soft) 0 环境 [root@localhost ~]# uname -a Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 ...
分类:其他   时间:2015-01-15 18:21:08    收藏:0  评论:0  赞:0  阅读:298
POJ 2151 Check the difficulty of problems (概率DP)
题目地址:POJ 2151 dp[i][j][k]表示第i个人前j个题做对了k道题的概率。然后把dp数组求出来之后,再利用容斥原理求出最终概率。 代码如下; #include #include #include #include #include #include #include #include #include using namespace std; #define...
分类:其他   时间:2015-01-15 18:21:05    收藏:0  评论:0  赞:0  阅读:175
jmx
jmx    JMX        即 Java Management Extensions   Java管理扩展 MBean   即 managed beans                         被管理的Beans 一个MBean是一个被管理的Java对象,有点类似于JavaBean,一个设备、一个应用或者任何资源都可以被表示为MBean,MBean会暴露一个接口对外,这...
分类:其他   时间:2015-01-15 18:19:38    收藏:0  评论:0  赞:0  阅读:306
ethercat从站mainloop函数
void MainLoop(void) { //=======bEscIntEnabled :同步模式 bEcatFirstOutputsReceived:接收和发送数据完成 bDcSyncActive:分布时钟同步====// //=============初始值FAULSE=================初始值FAULSE=======================...
分类:其他   时间:2015-01-15 18:19:28    收藏:0  评论:0  赞:0  阅读:678
hdu1198 Farm Irrigation dfs
Problem Description Benny has a spacious farm land to irrigate. The farm land is a rectangle, and is divided into a lot of samll squares. Water pipes are placed in these squares. Different square has...
分类:其他   时间:2015-01-15 18:19:08    收藏:0  评论:0  赞:0  阅读:240
CentOS7 安装samba
samba是个文件共享服务器。在linux和windows之间很好用,当然有更好的是NFS。这里对自己在CentOS7上安装samba的过程做一个记录。 因为发现网上的都很乱,自己踩过坑以后,记录下,以便以后不再踩了。当然,你也可以去看《鸟哥的linux私房菜-服务器搭建篇》,上面都介绍 的很好。 1、关闭防火墙。     CentOS 7 是自带的firewall,CentOS 6 好像...
分类:其他   时间:2015-01-15 18:18:38    收藏:0  评论:0  赞:0  阅读:366
由回文词引发的倒置语句单词实现
倒置语句中所有的单词,例如I am a student => student a am I.本文提供一个具体的实现思路,不敢独享!...
分类:其他   时间:2015-01-15 18:18:18    收藏:0  评论:0  赞:0  阅读:219
pom文件
在最开始如果你使用的时eclipse,那么你需要去安装一下maven的插件 插件路径:http://m2eclipse.sonatype.org/sites/m2e 安装指南:http://blog.163.com/myrudy@126/blog/static/17185153620108284935318/ 进入eclipse->window->preferences->搜索mav...
分类:其他   时间:2015-01-15 18:17:58    收藏:0  评论:0  赞:0  阅读:633
Office 365 - SharePoint 2013 Online 在应用商店中添加应用
1、在使用应用程序商店的时候,先点击配置应用商店设置,如下图:  2、发现SharePoint要求我们创建应用程序目录,用来分发SharePoint App的一个网站,不过不创建的话,依然可以在应用商店购买App,然后添加到站点,但是最好还是先创建一个应用程序目录比较好,如下图:  3、点击SharePoint 管理中心 – 应用程序 – 应用程序目录,进入如下界面:  如果你已经有了一个开发人员...
分类:其他   时间:2015-01-15 18:17:48    收藏:0  评论:0  赞:0  阅读:256
501D Misha and Permutations Summation 数据结构+打脸题
都快退役啦,小白书上的例题还不会。 给出一个序列S,则S的字典序为 sigma(dp[i] * (n-i)!) (1 对于两个序列A,B,(ord(A) + ord(B))%n!可以转化成 sigma( (A_dp[i] + B_dp[i] + (A_dp[i+1]+B_dp[i+1])/(n-i+1))%(n-i+1)  )( 1 解码部分和编码部分为逆操作,详见代码。 #inc...
分类:其他   时间:2015-01-15 18:17:18    收藏:0  评论:0  赞:0  阅读:273
Combination Sum -- leetcode
Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same repeated number may be chosen from C unlimited numb...
分类:其他   时间:2015-01-15 18:17:08    收藏:0  评论:0  赞:0  阅读:242
Jfreechart创建环形图
package com.lyf.iaqms; import java.awt.Color; import java.awt.Font; import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartFrame; import org.jfree.chart.JFreeChart; import org.jfree.ch...
分类:其他   时间:2015-01-15 18:16:48    收藏:0  评论:0  赞:0  阅读:884
邮件营销:更换新平台必须做好的5个准备
2014年9月,webpower全球同步发布了全新的邮件营销平台V10版本,很多市场营销人员都咨询这个包含了领先技术和便捷体验的邮件营销平台,也同样向webpower邮件营销技术和策略专家们提出了这样的一个问题:如果他们计划换一个新的邮件营销平台,需要综合考量及注意哪些因素,以保障变更邮件营销平台的平稳顺利?如何为新平台的效果发挥做好铺垫准备? 有很多中小企业在业务的发展中,公司的客户联系人...
分类:其他   时间:2015-01-15 18:16:18    收藏:0  评论:0  赞:0  阅读:275
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!