Your task is to calculate the number of different assignments of n
different topics to n
students such that each student gets exactly one topic they like.
- The first line contains the number of students
n
. - Each of the next
n
lines containsn
integers, describing the preferences of one student.1
at theith
position means the student likes theith
topic,0
means they do not.
- For each test case, output the number of different assignments.
You can access the detailed assignment specification for this problem using the following link: Assignment Explanation
solution.c
: C file containing the solution.report.pdf
: PDF report explaining the solution.
Click the following link to access the detailed problem description for the hashing assignment: Hashing Assignment Problems
This document contains three problems (1a, 1b, and 1c). Solve any one of these problems.
solution.c
: C file containing the solution.report.pdf
: PDF report explaining the solution.
- Ensure the directory structure is maintained as shown above.
- Upload the solution files and reports for both assignments.
- Commit the changes to your repository.