运行 ID: 78957

Main.cc: In function ‘int main()’:
Main.cc:5:5: error: expected initializer before ‘cin’
     cin>>n;
     ^~~
Main.cc:6:11: error: ‘n’ was not declared in this scope
     int c[n],m[n],e[n],w[n],num[n],t;
           ^
Main.cc:6:11: note: suggested alternative: ‘yn’
     int c[n],m[n],e[n],w[n],num[n],t;
           ^
           yn
Main.cc:8:14: error: ‘c’ was not declared in this scope
         cin>>c[n]>>m[n]>>e[n];
              ^
Main.cc:8:20: error: ‘m’ was not declared in this scope
         cin>>c[n]>>m[n]>>e[n];
                    ^
Main.cc:8:26: error: ‘e’ was not declared in this scope
         cin>>c[n]>>m[n]>>e[n];
                          ^
Main.cc:9:9: error: ‘w’ was not declared in this scope
         w[n]=c[n]+m[n]+e[n];
         ^
Main.cc:10:9: error: ‘nmu’ was not declared in this scope
         nmu[i]=i+1;
         ^~~
Main.cc:14:17: error: ‘w’ was not declared in this scope
             if((w[i]