You are viewing a single comment's thread. Return to all comments →
@mialkin - although your solution passes all test cases, it is actually incorrect. For the problem sample input, your solution would actually be:
C1 Monika 1 1 1 2
C2 Samantha 1 1 2 2
The correct solution to the sample input should be:
C1 Monika 1 2 1 2
Company C1 founded by Monika should have 2 senior managers (SM1 and SM2).
Seems like cookies are disabled on this browser, please enable them to open this website
New Companies
You are viewing a single comment's thread. Return to all comments →
@mialkin - although your solution passes all test cases, it is actually incorrect. For the problem sample input, your solution would actually be:
C1 Monika 1 1 1 2
C2 Samantha 1 1 2 2
The correct solution to the sample input should be:
C1 Monika 1 2 1 2
C2 Samantha 1 1 2 2
Company C1 founded by Monika should have 2 senior managers (SM1 and SM2).