Borderou de evaluare (job #2988593)
Utilizator | Data | 4 martie 2023 23:05:07 | |
---|---|---|---|
Problema | Deminare | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int parcurgere_mat(int, int, long long int (*)[503], int, int, int)':
main.cpp:12:17: warning: unused variable 'cnt' [-Wunused-variable]
12 | int maxn=-1,cnt=0,val;
| ^~~
main.cpp: In function 'int main()':
main.cpp:72:13: error: 'sp' was not declared in this scope
72 | sp[1][j]=mat[1][j]+sp[1][j-1];
| ^~
main.cpp:76:13: error: 'sp' was not declared in this scope
76 | sp[i][1]=mat[i][1]+sp[i-1][1];
| ^~
main.cpp:81:17: error: 'sp' was not declared in this scope
81 | sp[i][j]=sp[i-1][j]+sp[i][j-1]-sp[i-1][j-1]+mat[i][j];
| ^~
main.cpp:91:45: error: 'sp' was not declared in this scope
91 | cop1=parcurgere_mat(lun,lat,sp,l,c,m);
| ^~
main.cpp:83:21: warning: unused variable 'num' [-Wunused-variable]
83 | int lun,lat,num=0,ok=0;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !