That's the sort of thing that would make me strongly consider ending the interview, at least if I was going to be working directly for the interviewer. No need to waste more of their or my time than necessary, and I really wouldn't like working in that kind of insulting environment. And from a probably-immature perspective, the feel of power from being the guy saying "sorry, I'm not interested anymore" instead of hoping they call you back is nice.
Or, if I was really annoyed: bust out some Common Lisp for the next problem, then leave.
Or, if I was really annoyed: bust out some Common Lisp for the next problem, then leave.