0_0_31639659_969.cpp:3:7: error: 'MAX' does not name a type
const MAX=1000001;
^
0_0_31639659_969.cpp:4:7: error: 'MAX' was not declared in this scope
int a[MAX];
^
0_0_31639659_969.cpp: In function 'int main()':
0_0_31639659_969.cpp:6:8: error: 'a' was not declared in this scope
memset(a,0,sizeof(a));
^
0_0_31639659_969.cpp:14:11: error: 'MAX' was not declared in this scope
for(int i=MAX;m>0;i--){
^
|