智穷计尽

智穷计尽

at one's wits' end