A software engineering team uses three automated refactoring scripts—Script A, Script B, and Script C—to update a large codebase. Working alone at their respective constant rates, Script A can finish the entire codebase in hours, Script B in hours, and Script C in hours. All three scripts begin running simultaneously. After hours, Script A encounters an error and stops running. Script B and Script C continue running together without interruption until the codebase is completely refactored. How many additional hours will it take for Script B and Script C to complete the remaining work?
Answer: 6 hours
Answer
6 hours
The rate of Script A is of the codebase per hour, Script B is per hour, and Script C is per hour. Working together for hours, all three scripts complete of the codebase, leaving of the task remaining. With Script A offline, the combined rate of Script B and Script C is per hour. The additional time required to complete the remaining work is hours.
Step-by-Step Solution
Key Concept
Work Rate and Combined Work
Estimated Time:1m 30s