I’m trying to submit a solution for SETQUER in Practice, and I’m getting internal error both in IDE and non-IDE mode. Yesterday it was the same. Why is it happening?
When you are finding a vertex with degree >= m, while calling run() you update the global variable m and that causes problems in the internal loop, still it is weird that it would throw an internal error. I updated your solution by making a copy of that original m and it works.
My stupid mistake… Thank you! But internal error really was unobvious.