题目链接:连接的管道
题面:
连接的管道
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 793 Accepted Submission(s): 336
Problem Descript...
分类:
其他好文 时间:
2015-06-04 09:56:54
阅读次数:
152
CRM2011的界面相对于CRM4.0进行了比较大的改动,N久没见过4.0的界面了所以忘了表单是什么样子的了,但2011的表单中若含有多个tab的话,是可以通过左侧栏进行切换,话说2013的界面相对2011又一次大改后表单页面的这个功能却没了,我们只能在表单窗体编辑器中能看到,说实话tab的切换用到的机会不多,但是一旦页面字段很多,分了多个section多个tab,那tab的切换没了的话就需要拖动...
分类:
其他好文 时间:
2015-06-04 09:57:02
阅读次数:
152
预编译的文件扩展名是ii
gcc -E hello.c -o hello.i
预编译过程主要处理源代码文件当中的以#开头的预编译指令,比如#include就是把头文件插入到这个位置 #define就是把所有的宏定义展开,还有就是删除所有的注释编译就是把i文件编译成为汇编代码文件,汇编代码扩展名是.s
gcc -S hello.i -o hello.s但是现在版本的gcc把预编译和编译两个步骤合...
分类:
其他好文 时间:
2015-06-04 09:57:09
阅读次数:
1643
xcode5 provisioning profile path: ~/Library/MobileDevice/Provisioning
Profiles
顺带推荐一个好用的命令行工具:iTerm。...
分类:
其他好文 时间:
2015-06-04 09:54:58
阅读次数:
89
XTU1168 Alice and Bob
因为数据只有10000范围,直接递推就可以了
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
#define out(x) cout<<#x<...
分类:
其他好文 时间:
2015-06-04 09:55:02
阅读次数:
155
Design a data structure that supports the following two operations:
void addWord(word)
bool search(word)
search(word) can search a literal word or a regular expression string containing only lett...
分类:
其他好文 时间:
2015-06-04 09:56:27
阅读次数:
169
// LA 4256 Salesmen 线性dp
//
// 像LCS和LIS问题类似,因为每次修改一个值,都是根据
// 前一个值决定的,那么最后一个结尾的数字肯定要作为
// 状态,而长度作为状态是一目了然的
//
// d[i][j]表示长度为i,最后以j结尾的数组修改的最小次数
//
// 则状态转移方程为
//
// d[i][j] = min(d[i][j],d[i-1][k]+(j...
分类:
其他好文 时间:
2015-06-04 09:55:56
阅读次数:
134
1. C语言的 错误处理
return 0;//程序正常结束
return -1;//程序异常结束
1.1 C语言通过返回值表示错误的形式,一般规则如下:
(1)如果函数的返回值类型是int类型,并且函数的返回值不可能是负数时,
则返回0表示正常结束,返回-1表示出错
(2)如果函数返回值类型int 类型,函数的返回值可能是负数时,
使用指针作为函数形参将函数的结果带回去,然后使...
分类:
其他好文 时间:
2015-06-04 09:52:58
阅读次数:
122
Given an array and a value, remove all instances of that value in place and return the new length.
The order of elements can be changed. It doesn't matter what you leave beyond the new length.
题...
分类:
其他好文 时间:
2015-06-04 09:52:58
阅读次数:
159
题意:就是给你一个多边行的点的坐标,求此多边形的重心。
一道求多边形重心的模板题!
#include
#include
#include
using namespace std;
struct point
{
double x,y;
}PP[1000047];
point bcenter(point pnt[],int n){
point p,s;
double...
分类:
其他好文 时间:
2015-06-04 09:54:26
阅读次数:
104
Implement strStr().
Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.
实现函数strStr。代码如下:int strStr(char* haystack, char* needle) {
size_...
分类:
其他好文 时间:
2015-06-04 09:53:05
阅读次数:
113
由于自己的电脑配置普普通通,在VM虚拟机中搭建的集群规模也就是6个节点左右,再多就会卡的不行
碰巧接触了Docker这种轻量级的容器虚拟化技术,理论上在普通PC机上搭建的集群规模可以达到很高(具体能有多少个也没有实际测试过)于是就准备在Docker上搭建Spark集群
由于是Docker新手,在操作过程中遇到了不少麻烦刚开始在网上找的资料都是直接从DockerHub上拉取别人已经建好的镜像使用...
分类:
其他好文 时间:
2015-06-04 09:52:27
阅读次数:
212
#include
#include
const int maxn = 100000;
struct Point{
double x,y;
Point() {}
Point(double _x, double _y) {
x = _x;
y = _y;
}
Point operator -(const Point &B) c...
分类:
其他好文 时间:
2015-06-04 09:53:46
阅读次数:
152
工作7年,就其工作中学习到的技术和业务是很有限的,业余的大部分时间还是以自己看书为主,学习到的技术不一定能用的上,但是可以作为知识的储备。除了专业书籍外,也尽量多的看一些其他的书籍,例如:历史、经济、管理等方面的,为了将来有全面的发展储备知识,也是为了激发自己的思考,解构现实世界。
我是比较善于观察和思考的人,人与人之间思考结果的偏差是很大的,造成这样的情况是信息不对称造成的,所以...
分类:
其他好文 时间:
2015-06-04 09:51:46
阅读次数:
184
这题有点坑。。。...
分类:
其他好文 时间:
2015-06-04 09:50:51
阅读次数:
120
1003 - Sibonacci Numbers
Time Limit: 1s Memory Limit:
64MB
Submissions: 2130 Solved: 360
Description As is known to all, the definition of Fibonacci Numbers is: f(1)=1 f(2)=1 f(n)=f(n-1)+f(...
分类:
其他好文 时间:
2015-06-04 09:51:47
阅读次数:
130
大家好,今天我给大家简单介绍一下我所学到的一些经验和总结:
今天我们学习了如何在liunx系统下 安装 JDK ,说到JDK 可能很多人都知道,JDK :英文名叫 Java Development Kit ,意思就是 Java 语言的软件开发工具包;其作用 我就不再一一介绍了,好了,下面就来说一下安装步骤吧;
第一步,先找到安装包,并且在DOS命令下打开,当然 liun...
分类:
其他好文 时间:
2015-06-04 09:52:15
阅读次数:
130