说明: 本次课程设计的任务是:针对学院的计算机系本科课程,根据课程之间的依赖关系,制定课程安排计划,并满足各学期课程数日大致相同。按照用户输入的课程数,学期数,课程间的先后关系数目以及课程间两两间的先后关系,程序执行后会给出每学期应学的课程。
(1) 输入的形式和输入值的范围:输入间用空格隔开。要求用户输入的课程数小于20,学期数小于或是等于8,课程名的长度小于等于10个字符。
(2) 程序所能达到的功能:按照用户的输入,给出每学期应学的课程。
(The task of curriculum design are: for the Institute of Computer Science undergraduate courses, according to the dependencies between programs to develop curriculum plans and meet a few days each semester or less the same. In accordance with the user to enter the course number, semester the number of the sequence of the relationship between the number of courses and course sequence of 22 inter-relationships, program execution is given after each semester should learn. (1) input in the form of and input value range: Enter the rooms separated by a space. Requires the user to enter the course number is less than 20, the number is less than or equal to 8 semester courses were less than or equal to the length of 10 characters. (2) program can achieve the function: In accordance with the user' s input, is given each semester to be science courses.)