Borderou de evaluare (job #1647250)

Utilizator AlexVulpoiuAlexandru Vulpoiu AlexVulpoiu Data 10 martie 2016 19:38:00
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:52:23: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(a[mij]<=x) ^ user.cpp:72:23: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(a[mij]>=x) ^ user.cpp:7: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:8: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:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:11:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&a[i]); ^ user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:15:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %lld",&v,&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit288kbTime limit exceeded.00
2Depăşit284kbTime limit exceeded.00
3Depăşit284kbTime limit exceeded.00
4Depăşit296kbTime limit exceeded.00
5Depăşit336kbTime limit exceeded.00
6Depăşit668kbTime limit exceeded.0
740msDepăşitMemory limit exceeded.00
840msDepăşitMemory limit exceeded.0
940msDepăşitMemory limit exceeded.0
1040msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?