Borderou de evaluare (job #1009205)

Utilizator rares96cheseliRares Cheseli rares96cheseli Data 12 octombrie 2013 17:05:49
Problema Reteta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:9:13: error: ‘Mmax’ was not declared in this scope double cost[Mmax],sol=999999.0; ^ user.cpp: In function ‘void Print(int)’: user.cpp:14:35: error: ‘cost’ was not declared in this scope for(int i=1;i<k;++i)sum+=(1.0*cost[st[i]]); ^ user.cpp:15:11: error: ‘Nmax’ was not declared in this scope int v[Nmax]; ^ user.cpp:16:26: error: ‘v’ was not declared in this scope for(int i=0;i<=N;++i)v[i]=0; ^ user.cpp:20:48: error: ‘v’ was not declared in this scope for(int p=1;p<=N;++p)if(R[r1][p])++v[0],++v[p]; ^ user.cpp:22:8: error: ‘v’ was not declared in this scope if(v[0]!=N)return; ^ user.cpp:23:29: error: ‘v’ was not declared in this scope for(int i=1;i<=N;++i)if(v[i]!=1)return; ^ user.cpp: In function ‘void Back(int)’: user.cpp:34:21: error: ‘back’ was not declared in this scope back(k+1); ^ user.cpp: In function ‘int main()’: user.cpp:51:24: error: ‘cost’ was not declared in this scope if(R[i][j])cost[i]+=(1.0*C[j]/R[i][0]); ^ user.cpp:52:11: error: ‘back’ was not declared in this scope back(1); ^

Ceva nu functioneaza?