Description
A coding competition was conducted inside TCS campus with e employees. Data of employees who participated and who did not participate in the competition is
available. There were three problems in the coding competition. Data as mentioned below is available-
- The number of employees who have solved only the first, only the second and only the third problem are equal.
- There are p1 employees who solved the first and the second problem.
There are p2 employees who solved the second and the third problem.
There are p3 employees who solved the third and the first problem.
- There are q employees who solved all the 3 problems.
There are r employees who did not par cipate in the competition,
Answer the following questions on the basis of data provided above.
How many employees have solved the first problem?
How many employees have solved exactly one of the 3 problems?
Constraints
0<= P1, P2, P3 <1045
P1, P2, P34 e
T, qe
q-p1, P2, P3
Input
Attachments:
Answers
Answered by
0
Answer:
which
Explanation:
Similar questions