0_0_35756965_584.cpp:6:5: error: conflicting declaration 'int a' int a,b; ^ 0_0_35756965_584.cpp:5:6: note: previous declaration as 'long int a [500002]' long a[500002]; ^