Borderou de evaluare (job #1647271)

Utilizator AlexVulpoiuAlexandru Vulpoiu AlexVulpoiu Data 10 martie 2016 19:45:24
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:51:23: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(a[mij]<=x) ^ user.cpp:71:23: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(a[mij]>=x) ^ user.cpp:6:36: 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:7:38: 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); ^ user.cpp:8:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:10:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^ user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:14:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&v,&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit276kbTime limit exceeded.00
2Depăşit280kbTime limit exceeded.00
3Depăşit268kbTime limit exceeded.00
4Depăşit280kbTime limit exceeded.00
5Depăşit284kbTime limit exceeded.00
6Depăşit460kbTime limit exceeded.0
7Depăşit664kbTime limit exceeded.00
8Depăşit664kbTime limit exceeded.0
9Depăşit660kbTime limit exceeded.0
10Depăşit668kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?