Language:
Free Online Dictionary|3Dict

計盡智窮

Source : CEDICT

to be at one's wits' end (idiom)