As announced in the class, we will work on the Exercise 7 again this week. Please use the problem posted at the Exercise page.
- After having read the input, your program must construct two arrays, R and P. Each element of R stands for resource assignment; for example R[0] = 0 stands for it is assigned to Process 0. P stands for resource requests from processes. For example P[0] = 0 means Process 0 is requesting Resource a (it is assumed that arrays are of integer types, to make indexing easier).
- Your program has to detect all circles.
- Submission deadline is midnight (2359).
No comments:
Post a Comment