0_0_33985438_9102.cpp: In function 'bool checkP(int, int, int)': 0_0_33985438_9102.cpp:12:36: error: expected '}' at end of input bool checkP(int x, int y, int num) { ^