Update Cut the sticks.cpp