![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法
caojunzhi96
这个作者很懒,什么都没留下…
展开
-
C# -算法:爱因斯坦思考题
思路,理论不太会写,要看理论可看: https://blog.csdn.net/orbit/article/details/6994575;https://blog.csdn.net/maidou0921/article/details/51910075在这里,我就直接贴代码:namespace 爱因斯坦思考题{ class Program { stat...原创 2019-04-11 15:13:33 · 242 阅读 · 0 评论 -
C# -算法:字符串相似度
只写代码:namespace 字符串相似度{ class Program { static void Main(string[] args) { string a = "efsdfdabcdefgaabcdefgaabcdefgaabcdefgasfabcdefgefsdfdabcdefgaabcdefgaabcdef...原创 2019-04-11 15:20:56 · 560 阅读 · 0 评论 -
C# -算法:最长公共子串
namespace 最长公共子串{ class Program { static void Main(string[] args) { string a = "efsdsfdabcdefgaabcdefgaabcdefgefg"; string b = "efsdfdabcdeffzabcdefg"...原创 2019-04-11 15:22:52 · 528 阅读 · 0 评论 -
C# -算法:狼羊菜过河问题
namespace 狼羊菜过河问题{ class Program { static string[] objects = new string[] { "人", "狼", "羊", "菜" };//对象数组 static string[] start = new string[] { "1", "1", "1", "1", "0", "0", "...原创 2019-04-15 16:31:54 · 1243 阅读 · 0 评论 -
C# -算法:Google方程式
namespace Google方程式{ class Program { const int NUMBER_MIN = 0; const int NUMBER_MAX = 9; static List<CharNumber[]> result = new List<CharNumber[]>(); ...原创 2019-04-15 16:33:22 · 184 阅读 · 0 评论 -
C# -算法:三桶等分水问题
namespace 三桶等分水问题{ class Program { /// <summary> /// 初始桶存水信息 /// </summary> static int[] start = new int[] { 8, 0, 0 }; /// <summary>...原创 2019-04-12 13:44:15 · 333 阅读 · 0 评论 -
C# -算法:解猜谜结果游戏
namespace 解猜谜结果游戏{ class Program { static string[] winers = new string[5];//一百米、二百米、跳高、跳远和铅球 static List<string> nameList = new List<string> { "甲", "乙", "丙", "丁",...原创 2019-04-16 09:03:14 · 479 阅读 · 0 评论