10 2019 档案
摘要:借助堆栈以非递归(循环)方式求解汉诺塔的问题(n, a, b, c), 即将N个盘子从起始柱(标记为“a”)通过借助柱(标记为“b”)移动到目标柱(标记为“c”), 并保证每个移动符合汉诺塔问题的要求。 输入格式: 输入为一个正整数N,即起始柱上的盘数。 输出格式: 每个操作(移动)占一行,按柱1
阅读全文
摘要:A "deque" is a data structure consisting of a list of items, on which the following operations are possible: Push(X,D): Insert item X on the front end
阅读全文
摘要:本题要求实现两个函数,一个将输入的学生成绩组织成单向链表;另一个将成绩低于某分数线的学生结点从链表中删除。 函数接口定义: struct stud_node *createlist(); struct stud_node *deletelist( struct stud_node *head, in
阅读全文
摘要:实验一 熟悉SQL Server 2008环境及SQL 语言 实验内容和步骤: 1.手动建库:打开SQL Server 2008企业管理器,建立1个名为StudentDB1,数据文件名为StudentDB1_data、大小为10M,日志文件名为StudentDB1_log、大小为5M的新数据库; 2
阅读全文