Language:
Free Online Dictionary|3Dict

計窮才竭

Source : CEDICT

to be at the end of one's resources/to be at one's wits' end (idiom)