Borderou de evaluare (job #1826028)
Utilizator | Data | 9 decembrie 2016 23:07:42 | |
---|---|---|---|
Problema | Diagonale | Status | done |
Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:24: error: ‘n’ has not been declared
void citire(Matrice m, n)
^
user.cpp: In function ‘void citire(int (*)[1000], int)’:
user.cpp:8:21: error: ‘n’ was not declared in this scope
for(int i=1; i<=n; i++)
^
user.cpp: In function ‘int main()’:
user.cpp:21:15: warning: unused variable ‘i’ [-Wunused-variable]
int a, n, i, j, s=0, maxs, nrdiag;
^
user.cpp:21:18: warning: unused variable ‘j’ [-Wunused-variable]
int a, n, i, j, s=0, maxs, nrdiag;
^
user.cpp:21:21: warning: unused variable ‘s’ [-Wunused-variable]
int a, n, i, j, s=0, maxs, nrdiag;
^
user.cpp:21:26: warning: unused variable ‘maxs’ [-Wunused-variable]
int a, n, i, j, s=0, maxs, nrdiag;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !