由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - Yodle puzzle,作出可申请工作
相关主题
一道招聘考题求解释,IT相关。询问工资
问道CodeEval上的题目analog IC phone interview 一般都问些什么呢? (转载)
与ICC斗智,请补充 (转载)job opening - Analog IC Design Engineer (转载)
[合集] 迟到的jobhunting经验(半导体方向)EE Master (IC circuit) + 最近有绿卡
RF 面试问题Internship at MERL: RF circuit
Broadcom要招人 (转载)Intel面试
弱问 哪些公司和cmu ece比较友好?JOB OPENING: circuit design engineer in INTEL (转载)
请教职业方向 (转载)Opening in high-speed analog circuit design
相关话题的讨论汇总
话题: circuit话题: jugglers话题: juggler话题: factory
进入JobHunting版参与讨论
1 (共1页)
y***y
发帖数: 224
1
Yodle is looking for software engineers to join the team. Take a look at
our new puzzle below.
More details on the team can be found here : http://www.yodle.com/careers/job-details/senior-software-engineer-new-york-ny/
Look forward to hearing from you
Aviv
Juggle Fest
Many developers here at Yodle are avid jugglers. To celebrate their prowess
we are organizing a Yodle Open JuggleFest, but we need your help planning it
. There will be thousands of participants split into teams. Each team will
attempt to complete a juggling circuit consisting of several tricks. Each
circuit emphasizes different aspects of juggling, requiring hand to eye
coordination (H), endurance (E) and pizzazz (P) in various amounts for
successful completion. Each juggler has these abilities in various amounts
as well. How good a match they are for a circuit is determined by the dot
product of the juggler’s and the circuit’s H, E, and P values. The higher
the result, the better the match.
Each participant will be on exactly one team and there will be a distinct
circuit for each team to attempt. Each participant will rank in order of
preference their top X circuits. Since we would like the audiences to enjoy
the performances as much as possible, when assigning jugglers to circuits we
also want to consider how well their skills match up to the circuit. In
fact we want to match jugglers to circuits such that no juggler could switch
to a circuit that they prefer more than the one they are assigned to and be
a better fit for that circuit than one of the other jugglers assigned to it.
To help us create the juggler/circuit assignments write a program in a
language of your choice that takes as input a file of circuits and jugglers
and outputs a file of circuits and juggler assignments. The number of
jugglers assigned to a circuit should be the number of jugglers divided by
the number of circuits. Assume that the number of circuits and jugglers will
be such that each circuit will have the same number of jugglers with no
remainder.
Input file
One line per circuit or juggler. All circuits will come before any jugglers.
Circuit lines start with a C and juggler lines start with a J. Names of
circuits and jugglers will never have spaces. A skill and the rating for
that skill are separated by a colon. Circuit lines have the circuit names
followed by skills. Juggler lines have the juggler names followed by skills,
followed by circuits in order of preference, separated by commas. Example:
C AroundTheWorld H:8 E:6 P:7
C Factory H:5 E:9 P:8
J Bob H:4 E:6 P:9 AroundTheWorld,Factory
J Ann H:7 E:3 P:8 AroundTheWorld,Factory
J Sam H:8 E:8 P:9 Factory,AroundTheWorld
J Jen H:6 E:9 P:2 AroundTheWorld,Factory
Output file
One line per circuit assignment. Each line should contain the circuit name
followed by the juggler name, followed by that juggler’s circuits in order
of preference and the match score for that circuit. The line should include
all jugglers matched to the circuit. The example below is a valid assignment
for the input file above.
AroundTheWorld Bob AroundTheWorld:131 Factory:146, Ann AroundTheWorld:130
Factory:126
Factory Sam Factory:184 AroundTheWorld:175, Jen AroundTheWorld:116 Factory:
127
Run your program on this input file http://www.yodle.com/downloads/puzzles/jugglefest.txt which contains 2000 circuits and 12000 jugglers. Send us both your code and the output file to the following e-mail address: the sum of the names of the jugglers (taking off the leading letter J) that are assigned to circuit C1970 @yodle.com. So for example if the jugglers assigned to circuit C1970 were J1,J2,J3,J4,J5 and J6 you would send your solution to [email protected]
________________________________________________
算法似乎很简单,
我是先按juggler的preference选circuit, 如果遇到一个circuit满了的情况,就把dot
product最小的那个juggler剔除,把更fit的加进去. 直到所有的juggler都被安排好了.
但我有大约190个左右的juggler安排不进去...
1 (共1页)
进入JobHunting版参与讨论
相关主题
Opening in high-speed analog circuit designRF 面试问题
满版是CS的offer,报个EE Circuit Design 的offerBroadcom要招人 (转载)
湾区公司招fresh EE master弱问 哪些公司和cmu ece比较友好?
真诚求问offer选择请教职业方向 (转载)
一道招聘考题求解释,IT相关。询问工资
问道CodeEval上的题目analog IC phone interview 一般都问些什么呢? (转载)
与ICC斗智,请补充 (转载)job opening - Analog IC Design Engineer (转载)
[合集] 迟到的jobhunting经验(半导体方向)EE Master (IC circuit) + 最近有绿卡
相关话题的讨论汇总
话题: circuit话题: jugglers话题: juggler话题: factory