0_0_36988437_2433.cpp: In function 'int solve(int, int, int)': 0_0_36988437_2433.cpp:57:9: error: 'i' was not declared in this scope while (i < p.size()) { ^