Borderou de evaluare (job #1659340)

Utilizator DadonRadu Dragos Dadon Data 22 martie 2016 10:23:35
Problema Interesant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void citire()’: user.cpp:24:65: warning: converting ‘false’ to pointer type for argument 2 of ‘int strcmp(const char*, const char*)’ [-Wconversion-null] if(v[i].ls>lmax ||(v[i].ls==lmax && strcmp(v[i].s,smax<0))) ^ user.cpp:24:65: warning: null argument where non-null required (argument 2) [-Wnonnull] user.cpp: In function ‘int main()’: user.cpp:74:34: error: ‘j’ was not declared in this scope nv=compar(v[i],v[j]) ^ user.cpp:75:17: error: expected ‘;’ before ‘if’ if(nv==0) ^ user.cpp:84:25: error: expected ‘)’ before ‘;’ token sort(v+1;v+n+1;test1); ^ user.cpp:84:29: warning: statement has no effect [-Wunused-value] sort(v+1;v+n+1;test1); ^ user.cpp:84:37: error: expected ‘;’ before ‘)’ token sort(v+1;v+n+1;test1); ^ user.cpp:84:38: warning: statement is a reference, not call, to function ‘test1’ [-Waddress] sort(v+1;v+n+1;test1); ^ user.cpp:84:38: warning: statement has no effect [-Wunused-value]

Ceva nu functioneaza?