Borderou de evaluare (job #1392214)

Utilizator juniorOvidiu Rosca junior Data 18 martie 2015 14:32:30
Problema Drum6 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:14:1: error: expected unqualified-id before ‘short’ short nl, nc, l, c, li, ci, um, ump, u[1001][1001]; ^ user.cpp: In function ‘void comp()’: user.cpp:18:15: error: ‘u’ was not declared in this scope lm = lit, u[l][c] = ++um; ^ user.cpp:18:17: error: ‘l’ was not declared in this scope lm = lit, u[l][c] = ++um; ^ user.cpp:18:20: error: ‘c’ was not declared in this scope lm = lit, u[l][c] = ++um; ^ user.cpp:18:27: error: ‘um’ was not declared in this scope lm = lit, u[l][c] = ++um; ^ user.cpp:21:7: error: ‘u’ was not declared in this scope u[l][c] = um; ^ user.cpp:21:9: error: ‘l’ was not declared in this scope u[l][c] = um; ^ user.cpp:21:12: error: ‘c’ was not declared in this scope u[l][c] = um; ^ user.cpp:21:17: error: ‘um’ was not declared in this scope u[l][c] = um; ^ user.cpp: In function ‘int main()’: user.cpp:25:10: error: ‘nl’ was not declared in this scope fin >> nl >> nc; ^ user.cpp:25:16: error: ‘nc’ was not declared in this scope fin >> nl >> nc; ^ user.cpp:27:8: error: ‘l’ was not declared in this scope for (l = 1; l <= nl; l++) ^ user.cpp:29:8: error: ‘l’ was not declared in this scope for (l = 1; l <= nl; l++) ^ user.cpp:31:8: error: ‘c’ was not declared in this scope for (c = 1; c <= nc; c++) ^ user.cpp:33:3: error: ‘u’ was not declared in this scope u[1][1] = 1; ump = 1; ^ user.cpp:33:16: error: ‘ump’ was not declared in this scope u[1][1] = 1; ump = 1; ^

Ceva nu functioneaza?