Clairvoyant targeted attack on complex networks