The problem is simple: We have n users, numbered 1 .. n We have m resources, numbered 1 .. m
Asume is no condition/relation between n and m, n < m, n > m, n = m. Al