摘要: #排序 ##选择排序 以数组a[8]={12,23,8,15,33,24,77,55}为例 WHILE(not sorted yet) find smallest unsorted item Swap firstunsorted item with the smallest set firstuns 阅读全文
posted @ 2022-10-09 16:23 20221404李震 阅读(25) 评论(0) 推荐(0) 编辑
摘要: #任务详情 输入一个固定长度的数组,并输入一个要查找的数,给出能不能检索到的伪代码并测试 ##伪代码 set found to FALSE while (position <6 AND found is FALSE) if (numbers[position]equals searchltem) s 阅读全文
posted @ 2022-10-09 11:17 20221404李震 阅读(57) 评论(0) 推荐(0) 编辑