Task: Fix the C++ Vector Initialization Bug
Task: Fix the C++ Vector Initialization Bug: a task in Terminal-Lego-15k (Harbor dataset). A developer is confused about C++ vector behavior. They created a vector with a specified size and then used push back() to add elements, but when printing the first 5 elements, they only see zeros instead…
The task
A developer is confused about C++ vector behavior. They created a vector with a specified size and then used `push_back()` to add elements, but when printing the first 5 elements, they only see zeros instead of the negative values they pushed.
Part of PrimeIntellect/Terminal-Lego-15k.