#pragma once #include void init(std::vector A, int D); void updateValue(int index, int newValue); bool isWinning(int startIndex);