Computer Networks - Protocols

Three routers have to be inter-connected in a point-to-point network. Each pair of routers may be connected by a high speed line, a medium speed line, a low speed line or no line. If time taken to generate and inspect each topology, is 100 ms, how long will it take to inspect all of them to find one that best matches the expected load ?