0_0_38603748_27658.cpp:17:5: error: redefinition of 'int ans' int ans; ^~~ 0_0_38603748_27658.cpp:10:5: note: 'int ans' previously declared here int ans; ^~~