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
HDUOJ
KeepCode1 解题思路及代码实现
本次题目皆来源于
HDUOJ
题目编号: ID Origin Title Problem A HDU 4475 Downward paths Problem B HDU 4476
·
2015-11-11 17:40
code
HDUOJ
1043Eight 八数码问题可以构造解
POJ朴素搜索能过的Eight,到HDU的变态数据就过不去了,然而无论双广还是A*都无法实现statistic里0ms的神迹。Discuss里看到了罗教主的一个回帖——构造解!于是专门向罗教主请教了一下,竟然没看懂他的回答。 走亲戚和表弟拿纸片玩了好一会儿,发现了一点蛛丝马迹。 构造的方法不止一种,斌仔的就和我的不一样,不过原理是相同的。直接八个数分开说吧: 首先给八个位置标号,
·
2015-11-11 12:53
HDU
偶数求和
pid=2015
HDUOJ
2015 题目描述 有一个长度为n(n<=100)的数列,该数列定义为从2开始的递增有序偶数,现在要
·
2015-11-11 10:11
HDUOJ
分类
模拟题, 枚举1002 1004 1013 1015 1017 1020 1022 1029 1031 1033 1034 1035 1036 1037 1039 1042 1047 1048 1049 1050 1057 1062 1063 1064 1070 1073 1075 1082 1083 1084 1088 1106 1107 1113 1117 1119 1128 1129 114
·
2015-11-11 04:35
HDU
hduoj
1753——java
hduoj
1753——java 大明A+B Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768
·
2015-11-11 00:58
java
hduoj
1106
排序 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 38410 Accepted Submission(s): 10894 Problem Desc
·
2015-11-11 00:51
HDU
hduoj
1159 dp,lcs
hduoj
1159 dp,lcs Common Subsequence Time Limit: 2000/1000 MS (Java/Others)  
·
2015-11-11 00:50
HDU
hduoj
1025——dp, lis
hduoj
1025——dp, lis Constructing Roads In JGShining's Kingdom Time Limit: 2000/1000 MS (Java/Others)&
·
2015-11-11 00:48
HDU
hduoj
2553——N皇后问题,dfs回溯
hduoj
2553 dfs,回溯 N皇后问题 Time Limit: 2000/1000 MS (Java/Others) Memory Limit
·
2015-11-11 00:25
HDU
[存档]xx-09210xxx-2010-ACM-ICPC竞赛总结
ACM-ICPC亚洲区预选赛 分区赛竞赛个人总结 2010年赛季 一.个人训练情况 1.训练的数量与质量情况 做题总数: 231=128(BuptOJ)+13(PkuOJ)+39(Ural)+17(
HduOJ
·
2015-11-09 14:06
ICPC
hduoj
4707 Pet 2013 ACM/ICPC Asia Regional Online —— Warmup
http://acm.hdu.edu.cn/showproblem.php?pid=4707 Pet Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description One day,
·
2015-11-09 14:36
online
hduoj
4706 Children's Day 2013 ACM/ICPC Asia Regional Online —— Warmup
http://acm.hdu.edu.cn/showproblem.php?pid=4706 Children's Day Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description Today i
·
2015-11-09 14:35
children
hduoj
3459 Rubik 2×2×2
http://acm.hdu.edu.cn/showproblem.php?pid=3459 Rubik 2×2×2 Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 327670/327670 K (Java/Others) Total Submi
·
2015-11-08 11:00
HDU
hduoj
4710 Balls Rearrangement 2013 ACM/ICPC Asia Regional Online —— Warmup
http://acm.hdu.edu.cn/showproblem.php?pid=4710 Balls Rearrangement Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s):
·
2015-11-08 11:59
online
hduoj
4708 Rotation Lock Puzzle 2013 ACM/ICPC Asia Regional Online —— Warmup
http://acm.hdu.edu.cn/showproblem.php?pid=4708 Rotation Lock Puzzle Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Descriptio
·
2015-11-08 11:58
online
hduoj
4715 Difference Between Primes 2013 ACM/ICPC Asia Regional Online —— Warmup
http://acm.hdu.edu.cn/showproblem.php?pid=4715 Difference Between Primes Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Desc
·
2015-11-08 11:57
online
hduoj
4706 Herding 2013 ACM/ICPC Asia Regional Online —— Warmup
hduoj
4706 Children's Day 2013 ACM/ICPC Asia Regional Online —— Warmup Herding Time
·
2015-11-08 11:56
online
hduoj
4712 Hamming Distance 2013 ACM/ICPC Asia Regional Online —— Warmup
http://acm.hdu.edu.cn/showproblem.php?pid=4712 Hamming Distance Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others) Total Submission(s): 16
·
2015-11-08 11:56
online
HDUOJ
Knight Moves解题报告
1.典型的bfs。 2.难点在剪枝部分。有一个记录所走step的数组,记录到每个点所走的步数,如果一个点没走过,放进队列中,如果一个点走过,比较原来这个点的step值和由当前点计算的值,如果大,另其等于当前点的step值+1; 3.这道题犯了超级低级的错误。。。写好了bfs()函数,结果在main()函数中没有添加bfs();语句,导致调试了好久得不到想要的结果。。。 #in
·
2015-11-08 10:49
move
hduoj
2087 统计串t在串s中出现的次数,重叠不算 KMP
hduoj
2087 统计串t在串s中出现的次数,重叠不算 KMP C - 剪花布条 Time Limit:1000MS  
·
2015-11-07 15:01
HDU
hduoj
1455 && uva 243 E - Sticks
http://acm.hdu.edu.cn/showproblem.php?pid=1455 http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=243 uva开头描述: 307 - Sticks Tim
·
2015-11-07 11:11
HDU
hduoj
1251 统计难题
http://acm.hdu.edu.cn/showproblem.php?pid=1251 统计难题 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 131070/65535 K (Java/Others)Total Submission(s): 21236 &nb
·
2015-11-02 19:35
HDU
hduoj
1286 找新朋友
http://acm.hdu.edu.cn/showproblem.php?pid=1286 找新朋友 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8694 Accepted Submission(s): 4592 Probl
·
2015-11-02 19:33
HDU
hduoj
1285 确定比赛名次
http://acm.hdu.edu.cn/showproblem.php?pid=1285 确定比赛名次 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 14739 Accepted Submission(s): 5892 Pro
·
2015-11-02 19:32
HDU
HDUOJ
2546 饭卡
饭卡 Time Limit: 1000ms Memory Limit: 32768KB This problem will be judged on HDU. Original ID: 2546 64-bit integer IO format: %I64d Java class name:&n
·
2015-11-01 11:39
HDU
选择尽可能多的不相交区间
正确性证明:参见http://blog.csdn.net/dgq8211/article/details/7534488 以下是
HDUOJ
2037的源代码:
·
2015-10-21 11:00
选择
Hduoj
1078【搜索】
FatMouseandCheeseTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):6648 AcceptedSubmission(s):2733ProblemDescriptionFatMousehasstoredsomecheeseinacity.
u014641529
·
2015-09-30 20:00
Hduoj
1080【DP】
HumanGeneFunctionsTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):2757 AcceptedSubmission(s):1558ProblemDescriptionItiswellknownthatahumangenecanbeco
u014641529
·
2015-09-23 20:00
HDUoj
1576 A/B 扩展欧几里德
A/BProblemDescription要求(A/B)%9973,但由于A很大,我们只给出n(n=A%9973)(我们给定的A必能被B整除,且gcd(B,9973)=1)。Input数据的第一行是一个T,表示有T组数据。每组数据有两个数n(0<=n<9973)和B(1<=B<=10^9)。Output对应每组数据输出(A/B)%9973。SampleInput210005387123456789
FTQOOO
·
2015-08-18 21:00
数论
gcd
扩展欧几里德
Hduoj
1258【搜索】
#include #include #include intcmp(constvoid*a,constvoid*b) { return*(int*)b-*(int*)a; } intn,k; intmap[110]; intl[110]; intsuss;//用来标记是否成功 voiddfs(intb,intc,intd)//pos代表第几个数为位置 { inti; if(c>k) { retur
u014641529
·
2015-08-17 17:00
hdu oj 2639 Bone Collector II (01背包k优解)
hduoj
2639 BoneCollectorII 题目:BoneCollectorIITimeLimit:5000/2000MS(Java/Others) MemoryLimit:32768/32768K
baidu_30541191
·
2015-08-16 19:00
hdu oj 1171 Big Event in HDU
hduoj
1171BigEventinHDU题目:BigEventinHDUTimeLimit:10000/5000MS(Java/Others) MemoryLimit:65536/32768K
baidu_30541191
·
2015-08-15 21:00
hdu oj 2602 Bone Collector
hduoj
2602BoneCollector题目:BoneCollectorTimeLimit:2000/1000MS(Java/Others) MemoryLimit:32768/32768K(
baidu_30541191
·
2015-08-15 15:00
hdu oj 1285 确定比赛名次
hduoj
1285确定比赛名次题目:确定比赛名次TimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission
baidu_30541191
·
2015-08-15 09:00
hdu oj 1849 Rabbit and Grass
hduoj
1849 RabbitandGrass题目:RabbitandGrassTimeLimit:1000/1000MS(Java/Others) MemoryLimit:32768/32768K
baidu_30541191
·
2015-08-14 16:00
数据结构
算法
HDU
博弈
hdu oj 2176 取(m堆)石子游戏
hduoj
2176 取(m堆)石子游戏题目:取(m堆)石子游戏TimeLimit:3000/1000MS(Java/Others) MemoryLimit:32768/32768K(Java/Others
baidu_30541191
·
2015-08-14 16:00
hdu oj 1907 john
hduoj
1907john题目:JohnTimeLimit:5000/1000MS(Java/Others) MemoryLimit:65535/32768K(Java/Others)TotalSubmission
baidu_30541191
·
2015-08-14 15:00
数据结构
算法
博弈
Hduoj
1048【水题】
/*TheHardestProblemEver TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others) TotalSubmission(s):19721AcceptedSubmission(s):9257 ProblemDescription JuliusCaesarlivedinatimeofdanger
u014641529
·
2015-08-14 09:00
hdu oj 2177 取(2堆)石子游戏
hduoj
2177取(2堆)石子游戏题目:取(2堆)石子游戏TimeLimit:3000/1000MS(Java/Others) MemoryLimit:32768/32768K(Java/Others
baidu_30541191
·
2015-08-13 21:00
数据结构
算法
博弈
威佐夫博奕
hdu oj 1527 取石子游戏
hduoj
1527取石子游戏TimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission
baidu_30541191
·
2015-08-13 17:00
数据结构
博弈
Hduoj
1047【大数相加】
/*IntegerInquiry TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others) TotalSubmission(s):15541AcceptedSubmission(s):3992 ProblemDescription OneofthefirstusersofBIT'snewsupercomput
u014641529
·
2015-08-13 17:00
巴什博奕 hdu oj 2147 kiki's game
hduoj
2147kiki'sgamekiki'sgameTimeLimit:5000/1000ms(Java/Other) MemoryLimit:40000/10000K(Java/Other
baidu_30541191
·
2015-08-12 10:00
数据结构与算法
HDU
博弈
[置顶] 杭电ACM(
HDUOJ
)试题分类
杭电ACM试题分类 第一篇 1001 这个就不用说了吧 1002 简单的大数 1003 DP经典问题,最大连续子段和 1004 简单题 1005 找规律(循环点)1006 感觉有点BT的题,我到现在还没过1007 经典问题,最近
xia842655187
·
2015-08-11 08:00
C语言
ACM
HDU
杭电
Hduoj
1041【数学】
/*ComputerTransformation TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others) TotalSubmission(s):6626AcceptedSubmission(s):2408 ProblemDescription Asequenceconsistingofonedigit,th
u014641529
·
2015-08-02 16:00
Hduoj
1040【水题】
/*AsEasyAsA+B TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others) TotalSubmission(s):46241AcceptedSubmission(s):19757 ProblemDescription Thesedays,Iamthinkingaboutaquestion,howca
u014641529
·
2015-08-02 14:00
Hduoj
1039【水题】
/*EasierDoneThanSaid? TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others) TotalSubmission(s):9975AcceptedSubmission(s):4849 ProblemDescription Passwordsecurityisatrickything.User
u014641529
·
2015-08-02 14:00
Hduoj
1038【水题】
/*Biker'sTripOdometer TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others) TotalSubmission(s):4913AcceptedSubmission(s):3272 ProblemDescription Mostbicyclespeedometersworkbyusinga
u014641529
·
2015-08-01 17:00
Hduoj
1036【水题】
/*AverageisnotFastEnough! TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others) TotalSubmission(s):4785AcceptedSubmission(s):1937 ProblemDescription Arelayisaracefortwoormoreteamso
u014641529
·
2015-08-01 16:00
Hduoj
5199【DP】
/*HappyMattFriends TimeLimit:6000/6000MS(Java/Others)MemoryLimit:510000/510000K(Java/Others) TotalSubmission(s):970AcceptedSubmission(s):390 ProblemDescription MatthasNfriends.Theyareplayingagametog
u014641529
·
2015-08-01 10:00
Hduoj
1035【水题】
/*RobotMotion TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others) TotalSubmission(s):8167AcceptedSubmission(s):3765 ProblemDescription Arobothasbeenprogrammedtofollowtheinstructi
u014641529
·
2015-07-31 18:00
上一页
5
6
7
8
9
10
11
12
下一页
按字母分类:
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
其他