首页 | 本学科首页   官方微博 | 高级检索  
     检索      

锁具问题的算法及讨论
引用本文:斯国元.锁具问题的算法及讨论[J].浙江万里学院学报,2001,14(1):13-14.
作者姓名:斯国元
作者单位:浙江万里学院计算机系,宁波 315104
摘    要:对1994年全国大学生数学建模竞赛试题(锁具装箱)给出一种新颖的算法,对于由槽高组成的数组{yi}^5i=1,则对所有i≠j,从yi,yj出发,若相等,计数变量减1,否则加1,通过最后计数变量得出结论.

关 键 词:数学建模  算法  锁具
修稿时间:2000年8月18日

A New Algorithm of Lock Problem
SI Guo-yuan.A New Algorithm of Lock Problem[J].Journal of Zhejiang Wanli University,2001,14(1):13-14.
Authors:SI Guo-yuan
Abstract:We give out a new algorithm of lock problem in China's Undergraduate Math ematical Contest in Modeling 1994.For the array{yi}5i=1 co mposed of he ight of grooves,the number of distinctness in array could be obtained by countin g+1 if yi≠yj and otherwise -1 throughout each(i,j) with i≠j.
Keywords:mathematical modeling  algorithm  lock  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号