Borderou de evaluare (job #1687637)

Utilizator howsiweiHow Si Wei howsiwei Data 12 aprilie 2016 23:34:59
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In instantiation of ‘int index(T, F, const std::vector<T>&, T, int) [with T = int; F = std::plus<int>]’: user.cpp:123:50: required from here user.cpp:63:12: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] while (l+1<<h <= 2*n && f(c, t[l]) <= b) { ^ user.cpp:83:27: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] } while (h >= 0 && !(l+1<<h <= 2*n && f(c, t[l]) <= b)); ^ user.cpp: In function ‘int main()’: user.cpp:93:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("aib.in", "r", stdin); ^ user.cpp:94:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("aib.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms464kbOK10
20ms480kbOK10
34ms504kbOK10
428ms520kbOK10
564ms520kbOK10
6100ms784kbIncorect0
70msDepăşitMemory limit exceeded.0
80msDepăşitMemory limit exceeded.0
90msDepăşitMemory limit exceeded.0
100msDepăşitMemory limit exceeded.0
Punctaj total50

Ceva nu functioneaza?