0_0_16680219_15617.cpp:3:7: error: 'MAX' does not name a type
const MAX=1001;
^
0_0_16680219_15617.cpp:4:7: error: 'MAX' was not declared in this scope
int a[MAX];
^
0_0_16680219_15617.cpp: In function 'int main()':
0_0_16680219_15617.cpp:15:9: error: 'a' was not declared in this scope
cin>>a[j];
^
0_0_16680219_15617.cpp:16:17: error: 'a' was not declared in this scope
cout<<maxnum(n,a);
^
|