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
leetcode周赛439
HDU 4618Palindrome Sub-Array(暴力枚举每一个正方形)
Java/Others) MemoryLimit:65535/32768K(Java/Others)TotalSubmission(s):933 AcceptedSubmission(s):
439
ProblemDescriptionApalindromesequenceisasequencewhichis
opm777
·
2013-08-26 14:00
暴力枚举
uva
439
题意:模仿中国象棋的马走的方式,求从起点到终点的最少步数。。。#include #include #include usingnamespacestd; intmaze[10][10]; intdir[8][2]={{-2,-1},{-2,1},{2,-1},{2,1},{1,2},{1,-2},{-1,2},{-1,-2}}; intx1,x2,y2,y1; voiddfs(intx,int
u011345136
·
2013-08-03 12:00
为Xen虚拟机增加硬盘和增加容量
l 增加容量linuxxmshutdownrhel
439
ddif=/dev/zerobs=1024kcount=1024>>/etc/xen/images/rhel
439
/disk0xmstartrhel
439
tadcat
·
2013-08-01 21:00
量子计算机终于比普通电脑快上了那么一点点
实验室用的量子计算机名为D-WaveTwo,包裹里
439
个量子位。第一代D-Wave诞生于2011年,总价值一千万美金,含有128个量子位。许多物理学家和计算机科学家都不承认这是真的量子计算机。
韩前成
·
2013-07-31 16:25
计算机
处理器
科学家
实验室
物理学家
UVa:
439
Knight Moves
非常典型的bfs#include #include #include usingnamespacestd; intn; intgrid[100][100]={0}; intmove[8][2]={{2,1},{1,2},{-2,1},{-1,2},{2,-1},{1,-2},{-1,-2},{-2,-1}}; intsx,sy,ex,ey; structCell { intx,
kkkwjx
·
2013-07-22 22:00
UVA
439
题意:移动棋子到指定的位置所需要的步数最少,也就是走日字思路:DFS就是从初始位置进行搜索,每进行一次就更新一次最少步数。 BFS就是从八个方向搜索,一搜索到指定的位置就返回步数BFS的代码:#include #include intdx[]={-1,-1,-2,-2,1,1,2,2}; intdy[]={-2,2,-1,1,-2,2,-1,1}; intx1,y1,x2,y
u011345461
·
2013-07-18 16:00
uva
439
Knight Moves(BFS)
KnightMoves Afriendofyouisdoingresearchonthe TravelingKnightProblem(TKP) whereyouaretofindtheshortestclosedtourofknightmovesthatvisitseachsquareofagivensetof n squaresonachessboardexactlyonce.Hethink
u011328934
·
2013-07-17 19:00
ClientAbortException: java.io.IOException ie下没问题 搜狗下有问题
java.io.IOExceptionatorg.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:369)atorg.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:
439
bbheguifang
·
2013-07-17 16:29
java
转《十天学会单片机和C语言编程》郭天祥老师视频教程
rar428MB[十天学会单片机和C语言编程].lesson10.rar636MB[十天学会单片机和C语言编程].lesson11.rar649MB[十天学会单片机和C语言编程].lesson12.rar
439
MB
好好学习,好好工作,好好生活
·
2013-06-21 19:00
雨林木风Ghost Win7 SP1 装机版 YN2012.05
雨林木风GhostWin7SP1装机版YN2012.05文件名称:ylmf_Ghost_Win7_SP1_yn2012.05.iso文件大小:3.23GBMD5:D51CBB
439
E8786502BDEDC9D9436DBFESHA1
qingting16
·
2013-06-20 16:15
浏览器
正式版
Win7系统
简体中文
雨林木风
雨林木风Ghost Win7 SP1 装机版 YN2012.05
雨林木风GhostWin7SP1装机版YN2012.05文件名称:ylmf_Ghost_Win7_SP1_yn2012.05.iso文件大小:3.23GBMD5:D51CBB
439
E8786502BDEDC9D9436DBFESHA1
qingting16
·
2013-06-20 16:15
浏览器
正式版
雨林木风
祥福别园GhostXP_SP3纯净自选版_2013.04[NTFS格式]
fanqiehuayuan.banzhu.com文件名称:祥福别园GhostXP_SP3纯净自选版_2011.04-N.iso文件大小:633MBCRC32:A7B1D11CMD5:9480D136F2E314CE13DEF
439
F0B21873SHA
taoyanbeiyao
·
2013-06-19 17:00
GhostXP_
雨林木风Ghost Win7纯净32为旗舰版YN1.0
系统下载地址:http://www.xiazaijidi.com/win7/ylmf/文件名称:ylmf_Ghost_Win7_SP1_yn2012.05.iso文件大小:3.23GBMD5:D51CBB
439
E8786502BDEDC9D9436DBFESHA1
manjianwuan
·
2013-05-20 15:26
安装
测试
windows7
修改不能预置开关机动画问题
cmds/bootanimation/BootAnimation.cpp +++b/alps/frameworks/base/cmds/bootanimation/BootAnimation.cpp @@-
439
,14
TopicDev
·
2013-05-10 14:00
HDU-1753 大明A+B【大数相加】
//Accepted1753125MS3336K
439
B importjava.math.BigDecimal; importjava.util.*; publicclassMain{ publicstaticvoidmain
yew1eb
·
2013-04-02 09:00
java
A+B
HDU-1753
用Java轻松A掉腾讯编程马拉松第三场1001题
pid=1001&cid=
439
Java确实很好很强大。只要Java基础比较好A这样的题目是简简单单的啦。这里需要注意的是Calendar类的月份、日期小于10的都没有前缀0,跟题目要求不符。
appte
·
2013-03-23 23:00
java
算法
杭电oj
从有限状态机(FSM)到行为树(Behavior Tree)(1)
原文:http://www.aisharing.com/archives/
439
选这次主题,要感谢一位网友的来信,他询问了一些如何将有限状态机转成行为树的问题,当时,我回信给了一些建议,但后来我仔细想了一下
fg5823820
·
2013-03-14 17:00
人工智能
状态机
AI
行为树
EM方法解高斯混合模型(GMM)Matlab实现
PRML第9章 9.2MixturesofGaussians中算法实现functionmodel=gmmEM(data,K,option) % %K为model数 %Reference:PRMLp438-
439
LiFeitengup
·
2013-03-14 15:00
javax.persistence.EntityNotFoundException: Unable to find XXXX with id 0 问题原因
Unable to find XXXX with id 0 问题原因[转] http://hi.baidu.com/wangda_cn/item/a6f
439
a91eed3f3c020a4d55
zhanshenny
·
2013-02-21 13:00
jpa
软件更新功能
p=
439
http://www.eoeandroid.com/forum.php?mod=viewthread&tid=249108 htt
justwyy
·
2013-02-20 09:00
软件
boj
439
水题,用到STL map,还是得细心点,不要少写了逻辑上应该的操作。 代码: #include<iostream> #include<map> using namespace std; map<int,int>ElementStore; int main() { int n,m; scanf("%d",&
zsybupt
·
2013-02-15 02:00
BO
保存一下博客状态
iuhsihsow性别:男注册日期:2008年05月07日论坛:可用分:310专家分:共0分 查看详细博客:积分:
439
排名:第24023名访问:11461次下载:积分:116排名:第195881名上传资源
iuhsihsow
·
2012-12-28 16:00
Android:Layout_weight的深刻理解,个人首发,欢迎转载和顶贴!
分类: Android2012-06-0600:58
439
人阅读 评论(10) 收藏 举报最近写Demo,突然发现了Layout_weight这个属性,发现网上有很多关于这个属性的有意思的讨论,可是找了好多资料都没有找到一个能够说的清楚的
thisiscx
·
2012-12-27 18:00
android
layout_weight
20120520 Linux下mysql的自动备份工具
文章摘自:http://hi.baidu.com/vb98/blog/item/2ed90cea835fa4cfd
439
c97f.htmllinux下的MySQL自动备份工具-第二版2011-10-2716
李燕萍
·
2012-11-25 22:41
Linux
mysql
工具
mysql
20120520 Linux下mysql的自动备份工具
文章摘自:http://hi.baidu.com/vb98/blog/item/2ed90cea835fa4cfd
439
c97f.htmllinux下的MySQL自动备份工具-第二版2011-10-2716
李燕萍
·
2012-11-25 22:41
mysql
linux
工具
n*n的ZigZag数组
0 1 5 6 14 15 27 282 4 7 13 16 26 29 423 8 12 17 25 30 41
439
fanzitao
·
2012-09-02 15:00
ini
美国域名总量增长止负:8月第三周新增5,
439
个
中国IDC评述网08月29日报道:近日,据WebHosting.info公布的数据显示,截至2012年8月20日,美国域名注册总量增长止负,总量达79,620,164个,8月第三周新增5,
439
个
idcpscom
·
2012-08-29 10:00
美国
8月第三周
域名总量
5439个
8月第三周全球各国家域名总量统计:美国稳居第一
近日,据WebHosting.info公布的数据显示,截至2012年8月20日,全球各国家域名注册总量统计Top10中,美国以79,620,164个域名总数稳居第一,8月第三周美国域名注册总量新增5,
439
idcpscom
·
2012-08-23 10:04
【索引】Graphs
RujiaLiu)::Volume2.DataStructures::Graphs572-OilDeposits657-Thedieiscast784-MazeExploration705-SlashMaze
439
Ra_WinDing
·
2012-08-15 16:00
Uva
439
Knight Moves
题目:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=105&page=show_problem&problem=380 题目大意是在一个网格中(行编号从1~8,列编号从a~h),给你两个点,要你找出象棋中的马从一个点跳到另一个点的最少步数。是一道十分基础的
Jianquan
·
2012-08-11 22:00
uva
Knight Moves
439
UVa
439
- Knight Moves
第一个BFS,费了点时间~~题目本身就是象棋里马走“日”,每次共8种走法,记录走过的格子,有限次数内能搜到目标格~~代码如下:#include #include #include #include #include #include usingnamespacestd; inta[10][10],flag[10][10],count; intstep[10][3]={{1,2},{1,-2},{-
GooMaple
·
2012-07-31 09:00
c
list
uva
439
- Knight Moves
KnightMoves AfriendofyouisdoingresearchontheTravelingKnightProblem(TKP)whereyouaretofindtheshortestclosedtourofknightmovesthatvisitseachsquareofagivensetofnsquaresonachessboardexactlyonce.Hethinksthat
Frankiller
·
2012-07-22 11:00
c
String
File
input
each
output
UVaOJ
439
- Knight Moves
Solution//UVaOJ
439
//KnightMoves //byACodeRabbit #include #include s
Ra_WinDing
·
2012-07-07 13:00
uva
439
- Knight Moves
点击打开链接题目意思:有一个8x8的棋盘,初始给定两个位置,求出从第一个位置到第二个位置的最短路解题思路:对于这一类的求最短路我们一般用广搜来做,开个结构体存储坐标,然后用队列存储这个这个结构体的对象,开始把第一个点放入队列,接下来进行BFS,注意这一题最大的mark标记数组开到750左右,我因为开了1010的数组TLE到蛋疼啊,不懂是不是因为数据实在很多然后每一次都调用memset还有其它的耗时
cgl1079743846
·
2012-07-07 01:00
UVa
439
- Knight Moves 搜索专题
439
- KnightMoves1338156.27%515793.21%题目链接:http://uva.onlinejudge.org/index.php?
shuangde800
·
2012-07-06 01:00
c
struct
UVa
439
- Knight Moves 搜索专题
439
-KnightMoves1338156.27%515793.21%题目链接:http://uva.onlinejudge.org/index.php?
king_tt
·
2012-07-06 01:00
move
http://topic.csdn.net/u/20101222/23/dd73bfcd-43...
http://topic.csdn.net/u/20101222/23/dd73bfcd-
439
a-4b39-8a77-b82c2b8eaacb.html
IMGTN
·
2012-06-21 13:00
理解 linux contain_of() 宏
linuxcontain_of()宏container_of()函数1.该宏定义在include/linux/kernel.h中
439
/**440*container_of-castamemberofastructureouttothecontainingstructure441
goldfighter
·
2012-06-21 11:00
c
linux
struct
扩展
linux内核
structure
Rabin Hash及其他哈希算法比较
http://hi.baidu.com/baoer1024/blog/item/62c8893a3ec
439
f8b311c74d.htmlRabinHash及其他哈希算法比较2009-11-2122:32
·
2012-05-11 12:00
hash
UVa
439
Knight Moves (bfs)
题目链接:~( ̄▽ ̄~)(~ ̄▽ ̄)~水过~#include #include intmap[10][10],used[10][10],X1=0,Y1=0,X2=0,Y2=0,sum=0; intdir[8][2]={{-1,-2},{1,-2},{-2,-1},{2,-1},{-2,1},{2,1},{-1,2},{1,2}}; typedefstruct { intx,y,count; }no
ulquiorra0cifer
·
2012-04-07 12:00
suse及业务笔记
阅读更多什么是cp什么是sphttp://wenku.baidu.com/view/a
439
ad0bf12d2af90242e6c8.html----------------selinux关闭,否则ftp
haoningabc
·
2012-04-06 19:00
cp
opensuse
suse及业务笔记
什么是cp什么是sp http://wenku.baidu.com/view/a
439
ad0bf12d2af90242e6c8.html ---------------- selinux关闭,否则
haoningabc
·
2012-04-06 19:00
opensuse
cp
suse及业务笔记
什么是cp什么是sp http://wenku.baidu.com/view/a
439
ad0bf12d2af90242e6c8.html ---------------- selinux关闭,否则
haoningabc
·
2012-04-06 19:00
opensuse
cp
suse及业务笔记
阅读更多什么是cp什么是sphttp://wenku.baidu.com/view/a
439
ad0bf12d2af90242e6c8.html----------------selinux关闭,否则ftp
haoningabc
·
2012-04-06 19:00
cp
opensuse
maven环境搭建
http://hi.baidu.com/164878858/blog/item/f7eeb4e99e0698ccd
439
c923.html maven上传到私服 http://woshixy.blog
zgcsy1986
·
2012-03-19 16:00
maven
常见邮件发送失败原因分析以及解决方法
id=
439
一.发到sina.com的邮件会被退回 我发到sina的邮件会被退回,并提示"remoteserversaid:553SpamMailhttp://mail.sina.com.cn/FAQ.html
mal327
·
2012-03-05 11:00
server
服务器
Yahoo
domain
网易
邮件服务器
Debug时检测到Loaderlock的解决办法
转自:http://hi.baidu.com/tdskee/blog/item/47d8d9eaad6c48d8d
439
c97f.html昨天遇到了Loaderlock的问题。
xuehuic
·
2012-02-20 14:00
439
- Knight Moves
/* 马走棋盘问题 解题思路: 广度优先搜索 使用二维数组step来记录步数 */ #include #include boolchessboard[10][10]; intstep[10][10]; intdir[8][2]={1,2,2,1,1,-2,2,-1,-1,2,-2,1,-1,-2,-2,-1}; boolover; structNode { intx,y; Node(){} N
lhshaoren
·
2012-02-03 22:00
c
struct
udev 文件系统制作
转自:http://hi.baidu.com/shanyefeng/blog/item/915769ea8e9d6bdfd
439
c927.htmludev文件系统制作第一、什么是udev?
Liuqz2009
·
2012-02-03 11:00
嵌入式
Path
工具
library
makefile
编译器
linux后台运行命令详解
http://hi.baidu.com/seeseeabc/blog/item/e0ba88eb19366cd4d
439
c974.htmlLinuxJobs等前后台运行命令解2008-12-1021:37A
zhlccna
·
2012-01-31 17:13
linux
command
jobs
后台运行
休闲
上一页
29
30
31
32
33
34
35
36
下一页
按字母分类:
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
其他