文件名称:interview-arrangement
-
所属分类:
- 标签属性:
- 上传时间:2017-02-01
-
文件大小:3.55kb
-
已下载:2次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
某IT公司招聘新员工,收到了N份简历,人力资源部小X和小Y负责挑选简历安排面试,他们把N份简历排成了一个圆圈,按逆时针方向编号为1到N。开始时小X站在1号简历前,按逆时针方向数K份简历选中,小Y站在N号简历前,按顺时针方向数M份简历选中。两人同时取走所选简历之后,分别按逆时针和顺时针走到下一份简历前,再重复如上的方法取简历,直到取走所有简历,如果两人选中同一份简历,则只输出一个编号。-An IT company recruiting new employees, received a resume N, Human Resources Department of small X and small Y is responsible for the selection of resume arrangements for the interview, they N resumes arranged in a circle, counterclockwise numbered 1 to N. At the beginning of the small X station in front of resume 1, according to counter-clockwise number of K resume selected, small Y station in the N resume before, according to clockwise direction M number of CV selected. The two selected at the same time removed the resume, respectively, by counterclockwise and clockwise to go before the next resume, and then repeat the above method to take resume, until all the resumes removed, if the two selected the same resume, then only output one Numbering.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
综合性实验7面试安排/Assistance.h
综合性实验7面试安排/DblNode.h
综合性实验7面试安排/interview.h
综合性实验7面试安排/main.cpp
综合性实验7面试安排
综合性实验7面试安排/DblNode.h
综合性实验7面试安排/interview.h
综合性实验7面试安排/main.cpp
综合性实验7面试安排
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.