Borderou de evaluare (job #1056381)

Utilizator GaborGabrielFMI - GabrielG GaborGabriel Data 14 decembrie 2013 13:00:35
Problema Easygraph Status done
Runda ONIS 2014, Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:10:74: error: expected unqualified-id before ‘long’ long long T, N, M, val[MAXN], in[MAXN], out[MAXN], max[MAXN], viz[MAXN], long long maxim[MAXN]; ^ user.cpp: In function ‘void DFS(int)’: user.cpp:15:2: error: ‘maxim’ was not declared in this scope maxim[x] = val[x]; ^ user.cpp:16:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < graph[x].size(); ++i) ^ user.cpp: In function ‘int main()’: user.cpp:40:12: error: ‘maxim’ was not declared in this scope in[i] = maxim[i] = out[i] = viz[i] = 0; ^ user.cpp:49:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j<graph[a].size(); ++j) ^ user.cpp:62:8: error: ‘maxim’ was not declared in this scope a= (maxim[i] > a) ? maxim[i] : a; ^ user.cpp:30:18: warning: unused variable ‘c’ [-Wunused-variable] int i, j, a, b, c, ok = 0; ^

Ceva nu functioneaza?