#include using namespace std; constexpr int MAX_N = 151; bool cards_flipped[MAX_N]; void simulate() { for (int divider=2; divider