让学生适应大学问题 [英] Matching students to university problem

查看:56
本文介绍了让学生适应大学问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好朋友,我需要您的帮助和建议,我应该如何最好地解决问题,如果可能的话,欢迎使用不同的解决方案。


问题匹配问题,如何让不同大学的学生多多选择


每个学生都有机会选择6所大学。

每所大学的学位数量有限学生

有些大学要求在那里学习的学生的平均成绩。

有些不是。

这就是我开始的方式。我想知道我是否走在正确的轨道上。

Hello good friends, please i need your help and advice on how i should best programme the problem, if possible a different option to solve it is welcomed.

The problem a matching problem, how to much students to different universities with their choices

Each student has a chance to select 6 universities .
Each university has limited number of places for the students
Some universities demand average grade of students wanting to study there.
Some not.
This is how i started . Please i want to know whether i am on the right track.

展开 | 选择 | Wrap | 行号

推荐答案

好吧,你看到目前为止还不错。


你离开这里真的取决于最终的决定是如何决定谁与哪所大学相匹配。 。 。下一步是编写一个算法,从您的文件中获取输入数据,然后编写另一个算法,使学生和学校之间的实际匹配。


到目前为止,我还建议添加一个
well, youre looking good so far.

where you go from here really depends on how the final decisions are made on who gets matched with what university . . . your next step is to write an algorithm that takes the input data from your file and then write another algorithm that makes the actual matches between the students and schools.

as youve come so far, i would also suggest adding an
展开 | 选择 | Wrap | < span class =codeLinkonclick =LineNumbers(this);>行号


朋友们,我需要有人来救我。我试图用
来解决这个问题。

有n所大学和m个学生有6个他们最喜欢的大学选择。

每个大学都有一个他们可以容纳的学生人数有限。

而一些大学的选拔过程是基于平均成绩

学生,其他大学没有。

我的问题是写一个pr + rogramme来匹配各个大学的学生。

请在这里我是如何试图解决问题的。我想要一些看看

通过并帮我做出必要的修正。


提前多多谢谢。
Hello friends, please i need someone to come to my rescue. I having trying to
programme the problem.
there n universities and m students with six choices of their favorite university.
Each university has a limited number of students they can accomodate.
Whereas some universities the selection process is based on average grade of
the students, in other universities not.
My problem is to write a pr+rogramme to match the students at their various universites.
please here is how i tried to solve the problem. I please want some to look
through and help me maket the necessary correction.

Thanks alot in advance.
展开 | 选择 | Wrap | 行号


首先,您在嵌套循环中使用相同的迭代变量约7次。你还宣称了一个名为max average_grade的东西。这在语法上是非法的。而且我不知道你在这做什么:
For one thing you are using the same iterative variable about 7 times in your nested loops. You''ve also declared something called "max average_grade" which is illegal syntactically. And I don''t know what you are doing here:
展开 | 选择 | Wrap | 行号


这篇关于让学生适应大学问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆