Borderou de evaluare (job #1827672)

Utilizator patrutoiuandreipatrutoiu andrei patrutoiuandrei Data 12 decembrie 2016 08:20:01
Problema AVD Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void clear_graph(int)’: user.cpp:10:9: error: ‘G’ was not declared in this scope G[i].clear(); ^ user.cpp: In function ‘void DFS(int)’: user.cpp:14:5: error: ‘VIZ1’ was not declared in this scope VIZ1[nod] = 1; ^ user.cpp:15:22: error: ‘G’ was not declared in this scope for(size_t i=0;i<G[nod].size();i++) ^ user.cpp:19:30: error: ‘VIZ’ was not declared in this scope if(VIZ1[fiu] == 0 && VIZ[muchie] = 0) ^ user.cpp: In function ‘void solve()’: user.cpp:29:16: error: ‘N’ was not declared in this scope for(i=1;i<=N;i++) ^ user.cpp:31:12: error: ‘VIZ1’ was not declared in this scope if(VIZ1[i] == 0) ^ user.cpp:35:13: error: ‘V’ was not declared in this scope V[++nrelem] = nr; ^ user.cpp:38:10: error: ‘V’ was not declared in this scope sort(V+1,V+nrelem+1); ^ user.cpp:38:24: error: ‘sort’ was not declared in this scope sort(V+1,V+nrelem+1); ^ user.cpp:45:22: error: ‘MOD’ was not declared in this scope if(hash_find(cod%MOD) == 0) ^ user.cpp:45:25: error: ‘hash_find’ was not declared in this scope if(hash_find(cod%MOD) == 0) ^ user.cpp:47:9: error: ‘nrsol’ was not declared in this scope nrsol++; ^ user.cpp:48:28: error: ‘hash_insert’ was not declared in this scope hash_insert(cod%MOD); ^ user.cpp: In function ‘void submultimi(int, int)’: user.cpp:53:15: error: ‘X’ was not declared in this scope for(int i=X[k-1]+1;i<=N;i++) ^ user.cpp:56:9: error: ‘VIZ’ was not declared in this scope VIZ[i] = 1; ^ user.cpp:59:27: error: too few arguments to function ‘void submultimi(int, int)’

Ceva nu functioneaza?