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
Rikka
HDU 5423
Rikka
with Tree(构造)
根据题意可以构造出来的特殊树有三种情况(全是以结点1为根节点),,第一种是一条直线,第二种是一条直线末尾开花,第三种是直接开花。如图所示。然后就可以知道对于每一个深度的点数为1,1,1,...,x,0,0,...。然后dfs一遍找一下就可以了。#pragmawarning(disable:4996) #include #include #include #include usingnamespac
acraz
·
2015-08-29 21:00
hdu 5422
Rikka
with Graph
clickhere~~***RikkawithGraph*** ProblemDescription Asweknow,Rikkaispooratmath.Yutaisworryingaboutthissituation,sohegivesRikkasomemathtaskstopractice.Thereisoneofthem: Yutahasanon-directgraphwithnv
qingshui23
·
2015-08-29 21:00
HDU5202
Rikka
with string
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5202注意这组数据就行了,其他的应该没有什么大问题。????aaa#include #include #include #include usingnamespacestd; intn; boolis_pal(strings) { for(inti=0;i>s; for(i=n-1;i>=0;i--
piaocoder
·
2015-05-27 20:00
HDU-5202-
Rikka
with string(DFS + WrongAnswer)
RikkawithstringTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)TotalSubmission(s):937 AcceptedSubmission(s):334ProblemDescriptionAsweknow,Rikkaispooratmath.Yutaisworrying
zzuspy
·
2015-04-29 14:00
C++
ACM
HDU
DFS
HDU 5204
Rikka
with sequence
ProblemDescriptionAsweknow,Rikkaispooratmath.Yutaisworryingaboutthissituation,sohegivesRikkasomemathtaskstopractice.Thereisoneofthem:Yutahaveasequence.Becausethesequenceisveryself-willed(RenXing),atfi
jtjy568805874
·
2015-04-18 14:00
HDU
HDU 5202
Rikka
with string
RikkawithstringTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)TotalSubmission(s):561 AcceptedSubmission(s):220ProblemDescriptionAsweknow,Rikkaispooratmath.Yutaisworrying
Houheshuai
·
2015-04-13 20:00
hdu 5204
Rikka
with sequence(BestCoder Round #37)
Rikkawithsequence TimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others) TotalSubmission(s):378 AcceptedSubmi
caduca
·
2015-04-13 15:00
Algorithm
ACM
BestCoder
hdu 5203
Rikka
with wood sticks(Bestcoder Round #37)
RikkawithwoodsticksTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)TotalSubmission(s):446 AcceptedSubmission(s):130ProblemDescriptionAsweknow,Rikkaispooratmath.Yutaisworr
caduca
·
2015-04-12 17:00
Algorithm
编程
ACM
BestCoder
Rikka
with string
Accepts:395 Submissions:2281 TimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)ProblemDescriptionAsweknow,Rikkaispooratmath.Yutaisworryingaboutthissituation,sohegivesRikkasom
DoJintian
·
2015-04-12 17:00
ACM
HDU - 5202 -
Rikka
with string (DFS)
RikkawithstringTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)TotalSubmission(s):214 AcceptedSubmission(s):109ProblemDescriptionAsweknow,Rikkaispooratmath.Yutaisworrying
u014355480
·
2015-04-11 23:00
ACM
HDU
HDU 5203
Rikka
with wood sticks
题目大意:有一根长度为 n 的木棍,这个木棍是由 n 个长度为 1 的小木棍拼接而成,当然由于时间放置的久了,一些小木棍已经不牢固了,所以勇太想让六花把这个木 棍分成正整数长度的 4 段,其中有 3 段要没有不牢固的小木棍,勇太希望这 3 段木棍的长度和可以最大。同时六花希望在满足勇太要求的情况下让这三根木棍能拼成一 个三角形,请问萌萌哒六花有多少种可行的分割方案呢?解题思路:先求
kl28978113
·
2015-04-11 23:00
hdu 5203
Rikka
with wood sticks (暴力枚举边)
题意:一段长度为n的木块有n个长度为一的木块构成,现在给出m个不坚固的木块,现在要将原木块分成4份,并且其中三份不能包含不坚固的木块,并且这三份要尽量长,这三份要能构成三角形。问分割的方案数。题解:这题三份不能包含不坚固木块,那么其中一份肯定要包含所有木块,于是这要扣掉这一个份,问题就转化成两块木块分成三份或者一块木块分成三份能构成三角形的方案数。对于第一种情况,两个木块分成三份:直接枚举其中一块
My_ACM_Dream
·
2015-04-11 21:00
BestCoder #37
Rikka
with wood sticks DFS暴力
TimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)TotalSubmission(s):92 AcceptedSubmission(s):23ProblemDescriptionAsweknow,Rikkaispooratmath.Yutaisworryingaboutthissituatio
wr132
·
2015-04-11 21:00
with
DFS
暴力
Wood
BestCoder
Rikka
Stic
#37
hdu 5202
Rikka
with string
/************************************************Author:xryzEmail:
[email protected]
:4-1119:03:38FileName:a.cpp*************************************************/ #include #include #include #
xinag578
·
2015-04-11 21:00
bestcoder
Rikka
with string
ProblemDescriptionAsweknow,Rikkaispooratmath.Yutaisworryingaboutthissituation,sohegivesRikkasomemathtaskstopractice.Thereisoneofthem:Oneday,Yutagotastringwhichcontainsn lettersbutRikkalostitinaccident
Misdom_Tian_Ya
·
2015-04-11 21:00
上一页
1
2
3
4
下一页
按字母分类:
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
其他