E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
whi
菜鸟安装 CocoaPods
podsetup不过对于我这种从windows转过来并且没用过ruby的人来说还是一个很大的障碍:第一步凭感觉,打开终端后键入geminstallcocoapods回车后等待数分钟后出现错误提示ERROR:
Whi
meegomeego
·
2013-11-26 21:00
FZU - 2024 LCS && EditStep
MAXN],str2[MAXN]; intdp[MAXN][MAXN]; intans[MAXN][MAXN]; intmain(){ intt,cas=1; scanf("%d%*c",&t);
whi
u011345136
·
2013-11-21 19:00
UVA - 10688 The Poor Giant
constintINF=0x3f3f3f3f; intn,k,val[MAXN]; intdp[MAXN][MAXN]; intmain(){ intt,cas=1; scanf("%d",&t);
whi
u011345136
·
2013-11-14 19:00
[置顶] 从*p++说指针,数组,结构和函数
; printf("\nstring=%slength=%d\n",str,str_length(str)); } intstr_length(constchar*s){ intlength=0;
whi
·
2013-11-14 14:00
C++快速排序 精简版
;}intPartition(intInputArray[],intnLow,intnHigh){inti=nLow,j=nHigh+1;intx=InputArray[i];while(true){
whi
一只夏虫
·
2013-11-08 20:41
算法
(STL中自带的排序功能7.3.3)POJ 1318 Word Amalgamation(求解一个单词是否在字典里面。解法:将单词按字典序处理后的结果与字典中的单词安字典序处理后的结果进行比较)
include #include usingnamespacestd; constintmaxn=110; intmain(){ stringa[maxn],b[maxn],c; intn,i;
whi
caihongshijie6
·
2013-11-01 20:00
Same binary weight(stl 位运算)
'sinitsbinaryrepresentation.forexample,thedecmialnumber1hasabinaryweightof1,andthedecimalnumber1717(
whi
u012629369
·
2013-11-01 14:00
bitset
STL
Whiteboard Exercises are a Terrible Way t...
文章出处:
Whi
呢喃的猫咪
·
2013-11-01 09:00
第10周项目一--利用循环求和(while)
*问题描述:求1000以内所有偶数的和 *样例输出:250500 */#include usingnamespacestd; intmain() { inti=0,sum=0;
whi
u012369143
·
2013-10-30 12:00
下载站常用的点击下载地址提示设hao123为首页的js代码
复制代码代码如下:functionGetCookie(name){vararg=name+"=";varalen=arg.length;varclen=document.cookie.length;vari=0;
whi
·
2013-10-28 12:24
map的遍历,entrySet方法
=null&&newVasMap.size()>0){Iteratorit=newVasMap.entrySet().iterator();
whi
hua289581229
·
2013-10-26 22:00
map的遍历
entrySet方法
OCP-1Z0-051-V9.02-168题
ViewtheExhibitandexaminethedescriptionofSALESandPROMOTIONStables.YouwanttodeleterowsfromtheSALEStable,wherethePROMO_NAMEcolumninthePROMOTIONStablehaseitherblowoutsaleoreverydaylowpriceasvalues.
Whi
rlhua
·
2013-10-21 09:00
Java基础——常用Map的实现细节
finalKkey; Vvalue; Entrynext;//单链表,存储hash冲突的对象 finalinthash; hash桶的计算:首先把hash桶的个数适配到2的n次方intcapacity=1;
whi
豌豆
·
2013-10-15 21:00
java
基础
HashMap
LinkedHashMap
memcpy函数测试
size_tn) { if(dst==NULL||src==NULL)returnNULL; char*dst1=(char*)dst; char*src1=(char*)src;
whi
YongJohn
·
2013-09-28 13:00
面试
测试
IBM服务器RAID卡Nagios监控脚本
basename$0`-HHOSTIP-UUSERID-PPASSWORD" exportHOSTIP exportUSERID exportPASSWORD exportipmi_command=`
whi
SCUT_Apollo
·
2013-09-26 17:00
shell
nagios
监控脚本
RAID卡
OCP-1Z0-051-V9.02-148题
ViewtheExhibitandexaminethestructureofthePRODUCTStables.Youwanttogenerateareportthatdisplaystheaveragelistpriceofproductcategorieswheretheaveragelistpriceislessthanhalfthemaximumineachcategory.
Whi
rlhua
·
2013-09-25 14:00
Http Handler And Http Module
forexample:ModuleA,whichsubscribestoEndRequestModuleB,
whi
mybwu_com
·
2013-09-19 14:00
handler
最长子序列和(由浅入深)
{ publicstaticvoidmain(String[]args){ Scannerinput=newScanner(System.in); intm=input.nextInt();
whi
u010841344
·
2013-09-09 17:00
hdu 1711 Number Sequence
=10010; intlenT,lenP,next[MAXM]; intstrT[MAXN],strP[MAXM]; voidgetNext() { inti=0,j=-1; next[0]=-1;
whi
solotzg
·
2013-09-06 20:00
linux 线程中 信号量通信例子
arg) { printf("thread_function1--------------sem_wait\n"); sem_wait(&bin_sem); printf("sem_wait\n");
whi
peng654321
·
2013-08-28 16:00
UVA 10487 Closest Sums (二分查找)
Givenisasetofintegersandthenasequenceofqueries.Aquerygivesyouanumberandaskstofindasumoftwodistinctnumbersfromtheset,
whi
u011217342
·
2013-08-15 20:00
hdu1166 树状数组
definemaxn50020 intc[maxn]; inta[maxn]; intn; intt; intlowbit(intx) { returnx&(-x); } intSum(intn) { intsum=0;
whi
Kevin_Samuel
·
2013-08-07 16:00
ZOJ3706:Break Standard Weight(DP)
itconsistsofapivotedhorizontalleverofequallengtharms,calledthebeam,withaweighingpan,alsocalledscale,suspendedfromeacharm(
whi
libin56842
·
2013-08-06 23:00
dp
ZOJ
字符串到数字的转换
stringstr) { intnum=0; inti=0; while(i usingnamespacestd; voidstr_to_num(chararr[]) { intsum=0; inti=0;
whi
xiaofei2010
·
2013-08-03 13:00
编程练习[2]--某数为完全平方数,且有两个数字相同,不能使用int转为字符串的方法
#include"stdafx.h" #include usingnamespacestd; boolhavesame(intx) { intmod[10]={0};
whi
a_31415926
·
2013-08-01 21:00
hdu1231-最大连续子序列
include #include #include usingnamespacestd; #defineMAX10005 intmain() { intdp[MAX]; intn;
whi
·
2013-07-26 19:00
HDU
判断字符串中是否含有汉字
int IncludeChinese(char *str)//返回0:无中文,返回1:有中文{ char c;
whi
多一分钟学习,早一秒钟提高
·
2013-07-15 20:00
JQuery 样式操作
#control{text-align:center;} .red{background-color:Red;} .myfont{font-size:36px;color:
Whi
limlimlim
·
2013-07-04 10:00
一些数值计算
0:NaN;};//最小值d3.min=function(array,f){vari=-1,n=array.length,a,b;if(arguments.length===1){
whi
chm2920
·
2013-06-26 16:00
Linux Shell脚本测试案例(三)
分析:假定要扫描的网段是192.168.4.0,将192.168.4.赋值给变量NADD,作为检测地址的前缀使用”arping-c2-w1被检测主机的IP”命令发送ARP请求,记录MAC地址用
whi
甘兵
·
2013-06-23 08:10
linux
shell
linux系统管理
Shell脚本
TopCoder SRM 582 DIV2 250
MagicalGirlIrislovesperfectsquares.Apositiveintegernisaperfectsquareifandonlyifthereisapositiveintegerb>=1suchthatb*b=n.Forexample,1(=1*1),16(=4*4),and169(=13*13)areperfectsquares,
whi
jjike
·
2013-06-18 15:00
Discuz X2二次开发之数据库操作 DB类
查询结果是一个数组DB::query执行SQL查询,包括两种,一种是执行update,delete这些修改数据库的操作,还有一种与DB::fetch配合做一个循环查询DB::fetch与DB::query和
whi
得尼玛逼
·
2013-06-17 16:00
DB
discuz
X2
获取ip、主机名
try { netInterfaces = NetworkInterface.getNetworkInterfaces();
whi
thrillerzw
·
2013-06-10 12:00
IP
HDU/HDOJ 1671 Phone List
#include #include #include #include usingnamespacestd; boolcmp(stringa,stringb){ returna.size()>t;
whi
xiaozhuaixifu
·
2013-06-04 19:00
C++
String
搜索
Beans-hdu-2845
1977AcceptedSubmission(s):997ProblemDescriptionBean-eatingisaninterestinggame,everyoneownsanM*Nmatrix,
whi
从此醉
·
2013-06-03 15:00
bean
《设计模式》之十八:访问者模式
Visitor lets you define a new operation without changing the classes of the elements on
whi
yidao620c
·
2013-06-02 12:00
设计模式
java获取Oracle和access数据库结构
ResultSet rs=dbmd.getTables(null,null,"%",new String[]{"SYNONYM","TABLE"});
whi
Allen_Oscar
·
2013-05-28 21:00
vs MFC 添加弹出菜单
=NULL); CWnd*pWndPopupOwner=this;
whi
chaoguodong
·
2013-05-24 14:00
[SQL] 游标的使用 (一般遍历需要用到这个)
curName就是游标,tableName就是目标表)打开游标OpencurName(curNmae游标名字)读取游标名字FetchnextfromcurNameinto@name1,@name2...
whi
xv_ly15
·
2013-05-22 16:00
sql
shell脚本知其一二
whi
qiuchangyong
·
2013-05-19 17:00
分数——解题报告
);intn=sc.nextInt();Listresult=newArrayList();Listremainder=newArrayList();intfirstBarrow=0;inttemp;
whi
EmanuelBlog
·
2013-04-25 20:20
算法
nbut [1413] Weight 母函数 n个砝码 能称出的重量的个数
intnum[111],val[111]; intc1[10000+100],c2[10000+100]; #definemod100000007; intmain() { intn,i,j,k,sum;
whi
hnust_xiehonghao
·
2013-04-25 11:00
【优秀数学题】HDU 1302——The Snail
另外当这个蜗牛上升比下降还快的时候,其实就已经不行了= =##include #include usingnamespacestd; intmain() { doublehigh,up,down,factor;
whi
mig_davidli
·
2013-04-23 16:00
搜狗面试
curNode){returnNULL;}//设置倒序链表尾部为空head->next=NULL;
whi
cvfreshman
·
2013-04-06 21:12
互联网面试
haskell - interactive evaluation at the prompt
run and test your code. however, since haskell do no thave the statement ending sign such as the ;
whi
joe.bq.wang
·
2013-04-02 19:00
tool
haskell
LA 3644 - X-Plosives,并查集
pa[x]=find(pa[x]):x;} intmain() { intx,y;
whi
yew1eb
·
2013-03-26 00:00
并查集
la
-X-Plosives
3644
题目23: 取石子(一)
{ intN,i,M,Total; //freopen("C:\\Users\\SJF\\Desktop\\acm.txt","r",stdin); scanf("%d",&N); //N组测试数据
whi
SJF0115
·
2013-03-25 22:00
算法
Linux标准输出行缓冲以及重定向
如果程序写成intmain(void){ fprintf(stdout,"%u",getpid());// fflush(stdout);
whi
crazyss
·
2013-03-22 11:00
linux
FileSystem
stdio
poj 1003 水题
constintSIZE=300;//当输入达到上限5.20时,SIZE最大为276 doublelength[SIZE]={0.0}; intmain() { doublelen; inti;
whi
yew1eb
·
2013-03-19 09:00
poj
1003
poj1840 hash映射
shorthash[25000001];//注意a,x1,b,x2的组合数(50*50^3*2)*2 intmain() { inta,b,c,d,e; intx1,x2,x3,x4,x5; intres;
whi
wahaha1_
·
2013-03-14 16:00
上一页
20
21
22
23
24
25
26
27
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他