一家公司去大学校园招聘。 [英] A company went to a college campus for hiring purpose.

查看:50
本文介绍了一家公司去大学校园招聘。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

各位候选人参加了雇主进行的招聘考试。有10名最终候选人有资格获得空缺。雇主在第一次测试中保留候选人的标记。给定数字K(范围(1,10)),包括1和10,雇主想要知道在多少方面他可以从10个候选者中选择不同的K个候选者集合,使得他们在第一次测试中的总分最大。如果至少有一个候选人在两个集合中都不常见,那么两组K候选人会称之为不同。



我是什么尝试过:



我用C语言尝试过,但我没有得到答案。

Various candidates participated in the recruitment exam conducted by the employer. There are 10 final candidates left who qualified for the vacancy. Employer maintains the marks of the candidate in the first test. Given a number K(Range(1,10)) including 1 and 10, employer want to know that in how many ways he can select different set of K candidates out of 10 candidates such that their sum of marks in first test is maximum. Two set of K candidates would call different if at least one of the candidate is not common in both set.

What I have tried:

I tried it in C language ,but i didnt got the answer.

推荐答案

Quote:

我尝试过:



我用C语言尝试过,但我没有得到答案。

What I have tried:

I tried it in C language ,but i didnt got the answer.



没有答案 - 这是开发,所以树有许多解决方案可以产生想要的结果。



所以想想问题是什么,并尝试手动弄清楚如何在纸上做它你被要求 K = 2,K = 3,依此类推。



然后尝试写下用于执行任务的规则,然后考虑设计代码实施这些规则。



但我们不是来为你做这件事:我们不做你的功课 - 这是有原因的。它就是为了让你思考你被告知的事情,并试着理解它。它也在那里,以便您的导师可以识别您身体虚弱的区域,并将更多的注意力集中在补救措施上。



亲自尝试,你可能会发现它不是和你想的一样困难!



如果遇到具体问题,请询问相关问题,我们会尽力提供帮助。但我们不打算为你做这一切!


There is no "the answer" - this is development, so tree are many solutions which will produce the desired results.

So think about what the question is asking, and try doing it manually to work out how you would do it on paper it you were asked for "K = 2", "K =3", and so on.

Then try writing down the rules you use to do the task, and then think about designing code to implement those rules.

But we are not here to do that for you: We do not do your homework - it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!

If you meet a specific problem, then please ask about that and we will do our best to help. But we aren't going to do it all for you!


引用:

我试过了C语言,但我没有得到答案。

I tried it in C language ,but i didnt got the answer.



作为程序员,你的工作是创建算法来解决特定的问题,你不能依赖别人为你永远做到这一点,所以那里是一个你必须学习如何的时间。越快越好。

创建算法基本上是找到数学并进行必要的调整以适应您的实际问题。



你甚至不显示某些工作开始的阴影。



我们不做你的HomeWork。

HomeWork未设置为测试你乞求别人做你的工作的技巧,它会让你思考并帮助你的老师检查你对你所学课程的理解,以及你应用它们时遇到的问题。

你的任何失败都会帮助你的老师发现你的弱点并设定补救措施。

所以,试一试,重读你的课程并开始工作。如果您遇到特定问题,请展示您的代码并解释这个问题,我们可能会提供帮助。


As programmer, your job is to create algorithms that solve specific problems and you can't rely on someone else to eternally do it for you, so there is a time where you will have to learn how to. And the sooner, the better.
Creating an algorithm is basically finding the maths and make necessary adaptation to fit your actual problem.

You do not even show the shadow of the beginning of some work.

We do not do your HomeWork.
HomeWork is not set to test your skills at begging other people to do your work, it is set to make you think and to help your teacher to check your understanding of the courses you have taken and also the problems you have at applying them.
Any failure of you will help your teacher spot your weaknesses and set remedial actions.
So, give it a try, reread your lessons and start working. If you are stuck on a specific problem, show your code and explain this exact problem, we might help.


这篇关于一家公司去大学校园招聘。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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