Untitled
Never
Enter the number of processes and resources: 5 4 Enter the allocation matrix: 0 0 1 2 1 0 0 0 1 3 5 4 0 6 3 2 0 0 1 4 Enter the maximum matrix: 0 0 1 2 1 7 5 0 2 3 5 6 0 6 5 2 0 6 5 6 Enter available resources: 1 5 2 0 Safe sequence: p0 -> p2 -> p3 -> p4 -> p1 Need matrix: 0000 0750 1002 0020 0642 Total resources: 3141212