Borderou de evaluare (job #1984345)

Utilizator nick12nicolae mihalache nick12 Data 24 mai 2017 16:23:50
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘long long int bina(long long int)’: user.cpp:26:14: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] mid = low + high >> 1; ^ user.cpp:35:12: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] mid = low + high >> 1; ^ user.cpp: In function ‘long long int binar(long long int)’: user.cpp:51:13: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] mid = low + high >> 1; ^ user.cpp:56:12: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] mid = low + high >> 1; ^ user.cpp: In function ‘long long int binar2(long long int)’: user.cpp:70:13: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] mid = low + high >> 1; ^ user.cpp:75:12: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] mid = low + high >> 1; ^ user.cpp: In function ‘int32_t main()’: user.cpp:86:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cautbin.in","r",stdin); ^ user.cpp:87:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cautbin.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms436kbOK1010
20ms444kbOK1010
38ms452kbOK1010
456ms460kbOK1010
5Depăşit644kbTime limit exceeded.00
6Depăşit960kbTime limit exceeded.0
724msDepăşitMemory limit exceeded.00
824msDepăşitMemory limit exceeded.0
928msDepăşitMemory limit exceeded.0
1028msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?