Borderou de evaluare (job #2223800)

Utilizator dahaandreiDaha Andrei Codrin dahaandrei Data 21 iulie 2018 15:45:08
Problema Patrol Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:18:31: error: size of array ‘dist’ is too large int dist[MAXN + 1][MAXN * MAXN]; ^ user.cpp: In member function ‘bool cmp::operator()(dp, dp) const’: user.cpp:35:11: error: ‘dist’ was not declared in this scope return dist[a.nod][a.t] > dist[b.nod][b.t]; ^~~~ user.cpp: In function ‘int main()’: user.cpp:79:63: error: ‘dist’ was not declared in this scope for (int i = 1; i <= n; ++ i) for (int j = 0; j < mod; ++ j) dist[i][j] = INF; ^~~~ user.cpp:81:2: error: ‘dist’ was not declared in this scope dist[1][0] = 0; ^~~~

Ceva nu functioneaza?