sushe
代码说明:
考查点:线性结构、文件操作 注意:必须使用文件存储数据,不得使用数据库管理系统。 任务:通过此系统可以实现如下功能: 录入: 可以录入宿舍情况,包括宿舍号、可容纳学生数、已容纳学生数、男生/女生宿舍等信息; 可以录入学生住宿情况,包括学号、姓名、性别、宿舍号等信息。 其他信息可以自行设计。 分配宿舍:为每一个学生分配入一个未住满的宿舍。能否提供一个智能分配算法?推荐选择?批量分配?鼓励创新。(Check point: linear structure, file operations Note: you must use the file to store data, can not use management system. Mission: through this system can realize the following functions: Entry: Can enter the dormitory, including dorm number, can accommodate students number, already accommodate students number, boy/girl s dormitory information Can enter the student accommodation, including student id, name, gender, dormitory, etc. Other information can be designed. Dormitory: for each student assigned into a dormitory is not full. Can you provide a smart allocation algorithm? Recommended choice? Batch distributed? Encourage innovation. )
下载说明:请别用迅雷下载,失败请重下,重下不扣分!