Borderou de evaluare (job #2087603)
Utilizator | Data | 13 decembrie 2017 21:13:32 | |
---|---|---|---|
Problema | Interesant | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:50:18: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
mat[i].v[k+1]=NULL;
^
user.cpp:72:7: error: ‘nr’ was not declared in this scope
nr[i]=mat[i].l-1;
^
user.cpp:78:20: error: ‘nr’ was not declared in this scope
while(l<=nr[j] && da==0){
^
user.cpp:35:25: warning: unused variable ‘ok’ [-Wunused-variable]
int n, i, j, k, l, p, ok, tot, maxim, da;
^
user.cpp:37:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &p, &n);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !