#1102

hdu 1102 Constructing Roads (kruskal)

ConstructingRoadsTimeLimit:2000/1000MS(Java/Others)   MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):28154   AcceptedSubm...

1102. Invert a Binary Tree (25)

ThefollowingisfromMaxHowell@twitter:Google:90%ofourengineersusethesoftwareyouwrote(Homebrew),butyoucan'tinvertabinarytreeonawhiteboardsofuckoff.Nowit'syourturnt...
代码星球 ·2020-04-08

杭电1102 Constructing Roads

TimeLimit:2000/1000MS(Java/Others)   MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):13518   AcceptedSubmission(s):5128Pro...

HDOJ 1102 生成树

TimeLimit:2000/1000MS(Java/Others)   MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):11894   AcceptedSubmission(s):4496Pro...
代码星球 ·2020-04-05

Uva_11021 Tribles

题目链接题意:  现在有k只麻球,每只麻球只能存活一天,第二天就会死去,死去之前可能生下x只小麻球(x=0,1,2,...,n 1),概率分别为P[0],P[1],...,P[n-1]。  现求,m天之后,所有麻球全死去的概率,包括m天之前就已经全部死去。 思路:  每只麻球都是相互独立的,那么可以...
代码星球 ·2020-04-01
首页上一页12下一页尾页