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