Task: Fix Infinite Recursion in C++ Constructor
Task: Fix Infinite Recursion in C++ Constructor: a task in Terminal-Lego-15k (Harbor dataset). You are given a C++ program that causes an infinite loop (infinite recursion) when executed, even though there are no explicit for or while loops in the code. The program continuously outputs "ABC" until…
The task
You are given a C++ program that causes an infinite loop (infinite recursion) when executed, even though there are no explicit `for` or `while` loops in the code. The program continuously outputs "ABC" until it crashes with a stack overflow.
Part of PrimeIntellect/Terminal-Lego-15k.