A project contains P modules. One of the common fact about the project environment is that one module will depend upon other. Let u-v represents the dependency of module-u on module-v. Now given such dependencies, can you figure out the common dependencies between the Q given modules?
Input Format:
Input consists of four parts, viz.
First Line contains, number of modules (N), number of module dependencies (M)
Next M lines follow, each line contains two integers u, v
Next line contains Q, which is number of modules between whom dependencies need to be found
Next line contains Q integers delimited by space
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment