Borderou de evaluare (job #1982295)

Utilizator robx12lnLinca Robert robx12ln Data 18 mai 2017 09:16:37
Problema Magazin Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5:10: error: ‘DIM’ was not declared in this scope int aux1[DIM], aux2[DIM], aux3[DIM], D[DIM][6]; ^ user.cpp:5:21: error: ‘DIM’ was not declared in this scope int aux1[DIM], aux2[DIM], aux3[DIM], D[DIM][6]; ^ user.cpp:5:32: error: ‘DIM’ was not declared in this scope int aux1[DIM], aux2[DIM], aux3[DIM], D[DIM][6]; ^ user.cpp:5:40: error: ‘DIM’ was not declared in this scope int aux1[DIM], aux2[DIM], aux3[DIM], D[DIM][6]; ^ user.cpp: In function ‘int main()’: user.cpp:7:5: error: ‘fin’ was not declared in this scope fin >> p >> n >> m >> d; ^ user.cpp:7:12: error: ‘p’ was not declared in this scope fin >> p >> n >> m >> d; ^ user.cpp:7:17: error: ‘n’ was not declared in this scope fin >> p >> n >> m >> d; ^ user.cpp:7:22: error: ‘m’ was not declared in this scope fin >> p >> n >> m >> d; ^ user.cpp:7:27: error: ‘d’ was not declared in this scope fin >> p >> n >> m >> d; ^ user.cpp:10:16: error: ‘a’ was not declared in this scope fin >> a >> b; ^ user.cpp:10:21: error: ‘b’ was not declared in this scope fin >> a >> b; ^ user.cpp:11:9: error: ‘v’ was not declared in this scope v[a].push_back( b ); ^ user.cpp:14:13: error: ‘v’ was not declared in this scope if( v[i].size() == 0 ) ^ user.cpp:16:15: error: ‘v’ was not declared in this scope sort( v[i].begin(), v[i].end() ); ^ user.cpp:17:9: error: ‘aux1’ was not declared in this scope aux1[i] = 2 * v[i].back(); ^ user.cpp:18:9: error: ‘aux2’ was not declared in this scope aux2[i] = 2 * ( m - v[i].front() ); ^ user.cpp:19:9: error: ‘aux3’ was not declared in this scope

Ceva nu functioneaza?