Borderou de evaluare (job #1689651)

Utilizator Vele_GeorgeVele George Vele_George Data 14 aprilie 2016 14:11:46
Problema Lacuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘bool testeaza(int, int)’: user.cpp:23:20: error: ‘s’ was not declared in this scope if (sm[x][y] - s[x-k][y] - s[x][y-k] + s[x-k][y-k] == (x - k - 1) * (x - k - 1)) ^ user.cpp: In function ‘int main()’: user.cpp:35:10: error: ‘n’ was not declared in this scope f >> n; ^ user.cpp:36:23: error: expected ‘;’ before ‘i’ for(int i=1; i<=n i++) ^ user.cpp:51:19: error: ‘nr_lacuri’ was not declared in this scope ++nr_lacuri; ^ user.cpp:52:17: error: ‘nr_lacuri_patratice’ was not declared in this scope nr_lacuri_patratice += testeaza(i, j); ^ user.cpp:57:10: error: ‘nr_lacuri_patratice’ was not declared in this scope g << nr_lacuri_patratice << "\n"; ^ user.cpp:59:9: error: ‘nr_lacuri’ was not declared in this scope if (nr_lacuri == nr_lacuri_patratice) ^ user.cpp:61:17: error: ‘bfs’ was not declared in this scope bfs(1, 1); ^ user.cpp:62:9: error: ‘x’ was not declared in this scope x = 1; ^ user.cpp:63:9: error: ‘y’ was not declared in this scope y = 1; ^

Ceva nu functioneaza?