Answer the question
In order to leave comments, you need to log in
How to write code in pascal?
type town = (a,b,c,d,e,f,g,h);
towns = set of towns;
path = array [town] of towns;
Describe the procedure travel(P,H,K), which, given flights P (P[x] is the set of cities that can be reached by bus from city x in one flight), determines K, the set of cities that can be reached by bus (in one flight or via other cities) from city H.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question