Run id: 5272

Main.cc:7:5: error: two or more data types in declaration of 'm'
 int m,a[10010],minn=10010,maxn=-10010;
     ^
Main.cc:7:14: error: two or more data types in declaration of 'a'
 int m,a[10010],minn=10010,maxn=-10010;
              ^
Main.cc:7:16: error: two or more data types in declaration of 'minn'
 int m,a[10010],minn=10010,maxn=-10010;
                ^
Main.cc:7:27: error: two or more data types in declaration of 'maxn'
 int m,a[10010],minn=10010,maxn=-10010;
                           ^
Main.cc:8:1: error: 'cin' does not name a type
 cin>>m;
 ^
Main.cc: In function 'int main()':
Main.cc:10:10: error: 'm' was not declared in this scope
     cin>>m;
          ^
Main.cc:12:10: error: 'a' was not declared in this scope
     cin>>a[i];
          ^
Main.cc:13:8: error: 'maxn' was not declared in this scope
     if(maxna[i])minn=a[i];
        ^
Main.cc:16:11: error: 'maxn' was not declared in this scope
     cout<maxn-minn<<endl;
           ^
Main.cc:16:16: error: 'minn' was not declared in this scope
     cout<<maxn-minn<<endl;
                ^