小说网 找小说 无限小说 烟雨红尘 幻想小说 酷文学 深夜书屋

2008年11月25日

随机排列n*n方阵

摘要: 将n组1-n随机置于n*n的单元格中,使得每行,每列都是1-n的一个全排列 Sub Perm() Dim n As Long, i As Long, j As Long, arr(), brr(), t As Long n = 20 ReDim arr(n - 1, n - 1) ReDi... 阅读全文

posted @ 2008-11-25 21:51 王峰炬 阅读(210) 评论(0) 推荐(0)

Multi select elements which sums upto a certain number from an array

摘要: Give an array and a certain number,how to select some of the elements to sums upto the number? The following codes can bring you one or more solution... 阅读全文

posted @ 2008-11-25 19:37 王峰炬 阅读(139) 评论(0) 推荐(0)

太高兴了,我的书《大象-Thinking in UML》目前在互动网上是销售冠军!与大家分享一下!

摘要: 真的真的非常高兴,从11月20号首发到现在,短短一周时间,《大象-Thinking in UML》就登上了互动网的销售冠军!近7日销售排行版上,在软件方法和软件工程类别里排第一,在UML类别里也排第一!真的太出乎我的意料了!想起写书那段时间,每天只能睡几个小时,几乎放弃了所有的娱乐活动,也曾苦不堪... 阅读全文

posted @ 2008-11-25 15:06 王峰炬 阅读(130) 评论(0) 推荐(0)

导航