0_0_24901723_22988.cpp: In function 'int main()': 0_0_24901723_22988.cpp:15:5: error: redefinition of 'int main()' int main() ^ 0_0_24901723_22988.cpp:3:5: note: 'int main()' previously defined here int main(){ ^