Borderou de evaluare (job #2708169)

Utilizator BogdanTicuTicu Bogdan Valeriu BogdanTicu Data 18 februarie 2021 13:07:43
Problema Zeap Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int mindif(node*&)': main.cpp:45:15: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(n->minndif>0 >n->minndif < INT_MAX-1000) return n->minndif; ~~~~~~~~~~^~ main.cpp:45:30: warning: comparison of constant '2147482647' with boolean expression is always true [-Wbool-compare] if(n->minndif>0 >n->minndif < INT_MAX-1000) return n->minndif; ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ main.cpp:45:18: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(n->minndif>0 >n->minndif < INT_MAX-1000) return n->minndif; ~~~~~~~~~~~~~^~~~~~~~~~~ main.cpp: In function 'void remax(node*&)': main.cpp:56:9: warning: value computed is not used [-Wunused-value] n->mxx-max(n->mxx,n->l->mxx); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:62:9: warning: value computed is not used [-Wunused-value] n->mxx-max(n->mxx,n->r->mxx); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbIncorect0
29ms262kbIncorect0
368ms1048kbIncorect0
498ms1966kbIncorect0
5168ms3145kbIncorect0
6294ms4849kbIncorect0
7492ms8912kbIncorect0
8379ms5898kbIncorect0
9189ms3276kbIncorect0
10514ms9306kbIncorect0
Punctaj total0

Ceva nu functioneaza?