Borderou de evaluare (job #1653579)

Utilizator patrutoiuandreipatrutoiu andrei patrutoiuandrei Data 16 martie 2016 11:23:34
Problema Smen Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:7:11: error: two or more data types in declaration of ‘read’ void read() ^ user.cpp: In function ‘void build_graph()’: user.cpp:19:16: error: ‘N’ was not declared in this scope for(i=1;i<=N;i++) ^ user.cpp:21:9: error: ‘G’ was not declared in this scope G[S].pb(i); ^ user.cpp:21:11: error: ‘S’ was not declared in this scope G[S].pb(i); ^ user.cpp:22:9: error: ‘C’ was not declared in this scope C[S][i] = 1; ^ user.cpp:23:15: error: ‘A’ was not declared in this scope for(j=A;j<=B;j++) ^ user.cpp:23:20: error: ‘B’ was not declared in this scope for(j=A;j<=B;j++) ^ user.cpp:26:13: error: ‘Cost’ was not declared in this scope Cost[i][N+j-A+1] = abs(V[i]-j); ^ user.cpp:26:36: error: ‘V’ was not declared in this scope Cost[i][N+j-A+1] = abs(V[i]-j); ^ user.cpp:31:11: error: ‘A’ was not declared in this scope for(j=A;j<=B;j++) ^ user.cpp:31:16: error: ‘B’ was not declared in this scope for(j=A;j<=B;j++) ^ user.cpp:33:9: error: ‘G’ was not declared in this scope G[N+j-A+1].pb(D); ^ user.cpp:33:11: error: ‘N’ was not declared in this scope G[N+j-A+1].pb(D); ^ user.cpp:33:23: error: ‘D’ was not declared in this scope G[N+j-A+1].pb(D); ^ user.cpp:34:9: error: ‘Cost’ was not declared in this scope Cost[N+j-A+1][D] = 0; ^ user.cpp:35:9: error: ‘C’ was not declared in this scope C[N+j-A+1][D] = oo; ^ user.cpp:35:25: error: ‘oo’ was not declared in this scope

Ceva nu functioneaza?