0_0_35534653_21720.cpp: In function 'int checkpeople(int, int, int, int, int)': 0_0_35534653_21720.cpp:52:17: error: 'rightsum' was not declared in this scope return leftsum+rightsum; ^