CFanatic

Go Back   CFanatic > Programming > C++ Programming

Join CFanatic Forum Now

Data structures for JOB HUNT topic posted under C++ Programming which is a part of Programming category in CFanatic Forum
Closed Thread
 
Thread Tools Display Modes
  #1  
Old 02-06-2012, 04:27 AM
Junior Member
 
Join Date: Feb 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Avinash5782 is on a distinguished road
| More
Question Data structures for JOB HUNT

Hi All ,

I need a solution for the given problem .. Can any one help me..


A job consulting firm recruits applicants to various job positions in different companies based on the percentage of marks scored by the applicants and the positions to which they apply.

You have to develop a program to process a file containing the job requirements data and applicants data and place the applicants in various companies.
Input Format
The input contains;
1. Number of companies, Number of job positions, b
2. For each position in a company,
a. Company number
b. Position no
c. Minimum cutoff for the position
3. Number of Applicants
4. For each applicant
a. Name (Word without spaces)
b. %marks

Constraints
• The applicants need not be considered if the minimum cutoff for the applied job position is not met (equal to cutoff percentage means eligible for selection)
• There would be a max of 1000 companies, and 100 positions in each company.
• Max number of applicants is 100000.
• Placements should be done in such was as to maximize the number of placements. If there are multiple such placements, you can output any one of them.
• If there are multiple candidates who qualify for a position, the candidate with higest marks should be choosen.
• If there is a contention between 2 candidates with the same marks for a position, the candidate whose name comes first in the input has to be placed.
• If there is a contention between 2 positions, the position which appears first has to be filled first.


-------------------------------

Sample Input
2 4
1 1 80
1 2 70
2 1 70
2 2 80
5
SHARAT 90
BIJU 75
SUMA 75
BABU 72
TANAY 72
Sample Output
Company 1 Position 1 : SHARAT
Company 1 Position 2 : BIJU
Company 2 Position 1 : SUMA
Company 2 Position 2 : Not filled
  #2  
Old 02-06-2012, 10:25 AM
shabbir's Avatar
Administrator
 
Join Date: Sep 2006
Posts: 1,164
Thanks: 57
Thanked 63 Times in 44 Posts
shabbir has a spectacular aura aboutshabbir has a spectacular aura about
| More
Re: Data structures for JOB HUNT

You already have the same thread once.

DATA STRUCTURES for JOB HUNT

Thread closed and avoid doing that.
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DATA STRUCTURES for JOB HUNT lath C Programming 5 02-09-2012 10:29 PM
Data structures harim C Programming 2 10-27-2011 11:24 PM
Data structures in C programming ananthvinothan Introduce yourself 0 09-18-2011 01:38 AM
data structures dflatt C++ Programming 0 08-31-2010 11:04 AM
Implementing Graph data structures in C# tr00don C# Programming 0 07-23-2010 11:56 PM

 

Advertisement

CFanatic Search
Custom Search

Advertisement

All times are GMT -5. The time now is 03:45 PM.



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board