We consider a class of online resource allocation problems in which there are n types of resources with limited initial inventory and n demand classes. The resources are flexible in that each type of resources can serve more than one demand class. In this paper, we focus on a special class of...