Borderou de evaluare (job #696012)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Latin1 (baraj gimnaziu) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 16 feb. 2023 15:15:02 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:13:13: error: 'sp' was not declared in this scope
13 | sp[i][j] = sp[i][j-1] + sp[i-1][j] - sp[i-1][j-1] + a;
| ^~
main.cpp:18:33: error: 'm' was not declared in this scope
18 | for(int j=1; j+l-1<=m; j++){
| ^
main.cpp:20:27: error: 'sp' was not declared in this scope
20 | int sum = sp[i-1][j-1] - (sp[i-1][y] + sp[x][j-1]) + sp[x][y];
| ^~