Borderou de evaluare (job #1687600)

Utilizator howsiweiHow Si Wei howsiwei Data 12 aprilie 2016 22:48:46
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

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:111:50: required from here user.cpp:55:12: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] while (l+1<<h <= 2*n && f(c, t[l]) <= b) { ^ user.cpp:71: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:81: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:82: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
10ms460kbIncorect0
20ms480kbIncorect0
34ms504kbIncorect0
428ms520kbIncorect0
564ms520kbIncorect0
696ms784kbIncorect0
70msDepăşitMemory limit exceeded.0
80msDepăşitMemory limit exceeded.0
90msDepăşitMemory limit exceeded.0
100msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?