Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

HELP ME IN THIS PROBLEM

Revision en1, by jerseyguy, 2022-12-15 16:40:21

problem statement :
given n students and m colleges
each student has a list of preferred colleges in which they want to take admission.
each college has a certain capacity to take students
assuming any college will accept any student
find a mapping such that max number of students can get admission and return max number of seats that can be occupied.

note: constraints were not given and students will take admission if they get a seat in their preferred college

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English jerseyguy 2022-12-15 16:40:21 512 Initial revision (published)