Borderou de evaluare (job #2133347)

Utilizator catalin9898Bajenaru Catalin catalin9898 Data 16 februarie 2018 20:21:27
Problema Zeap Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘nod* rotright(nod*)’: user.cpp:26:19: warning: operation on ‘n->nod::h’ may be undefined [-Wsequence-point] n->h = geth(n); ^ user.cpp: In function ‘nod* rotleft(nod*)’: user.cpp:36:20: warning: operation on ‘n->nod::h’ may be undefined [-Wsequence-point] n->h = geth(n); ^ user.cpp: In function ‘int maxim(nod*)’: user.cpp:64:10: warning: statement has no effect [-Wunused-value] for(t;t->l!=nil;t=t->l); ^ user.cpp: In function ‘nod* balance(nod*)’: user.cpp:93:19: warning: operation on ‘n->nod::h’ may be undefined [-Wsequence-point] n->h = geth(n); ^ user.cpp: In function ‘int main()’: user.cpp:216:36: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(rad == nil || rad->l == nil && rad->r == nil) ^ user.cpp: In function ‘nod* sterg(nod*, int)’: user.cpp:149:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1496kbOK10
240ms1628kbOK10
3Depăşit2124kbTime limit exceeded.0
4Depăşit2096kbTime limit exceeded.0
5Depăşit2320kbTime limit exceeded.0
6Depăşit2328kbTime limit exceeded.0
7Depăşit2492kbTime limit exceeded.0
8Depăşit2316kbTime limit exceeded.0
9Depăşit1868kbTime limit exceeded.0
10336ms9660kbIncorect0
Punctaj total20

Ceva nu functioneaza?