0_0_29234447_24262.cpp: In function 'int main()': 0_0_29234447_24262.cpp:10:25: error: redeclaration of 'int m' int y, m, d, h, m, s; ^ 0_0_29234447_24262.cpp:10:16: note: 'int m' previously declared here int y, m, d, h, m, s; ^