上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 22 下一页

2006年11月29日

摘要: So everybody knows a common array in .NET is zero-based(its index starts at zero), but in .NET world you can also create a N-based array too! What's a N-based array? e.g. if a array "arr" is 4-based, ... 阅读全文

posted @ 2006-11-29 18:52 Adrian H. 阅读(378) 评论(0) 推荐(0)

2006年11月25日

摘要: Something About .Net Memory Management You Need to Know 阅读全文

posted @ 2006-11-25 21:03 Adrian H. 阅读(988) 评论(0) 推荐(0)

摘要: I wrote two generic class to implement these two algorithms, so you can use these classes to generate permutations and combinations for some use, such as software testing.Using the Code: using System... 阅读全文

posted @ 2006-11-25 16:21 Adrian H. 阅读(7376) 评论(12) 推荐(1)

2006年11月20日

摘要: Question有一根27厘米的细木杆,在第3厘米、7厘米、11厘米、17厘米、23厘米这五个位置上各有一只蚂蚁。木杆很细,不能同时通过一只蚂蚁。开始时,蚂蚁的头朝左还是朝右是任意的,它们只会朝前走或调头,但不会后退。当任意两只蚂蚁碰头时,两只蚂蚁会同时调头朝反方向走。假设蚂蚁们每秒钟可以走一厘米的距离。编写程序,求所有蚂蚁都离开木杆的最小时间和最大时间。最小时间肯定大家都很容易就想到了, 就是蚂... 阅读全文

posted @ 2006-11-20 15:18 Adrian H. 阅读(1675) 评论(0) 推荐(0)

2006年11月12日

摘要: From Rotor(Shared Source CLI) :/*77: Implementation Notes:78: Dictionary was copied from Hashtable's source - any bug fixes here79: probably need to be made to Dictionary as we... 阅读全文

posted @ 2006-11-12 17:25 Adrian H. 阅读(904) 评论(0) 推荐(0)

上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 22 下一页