Borderou de evaluare (job #1647323)

Utilizator AlexVulpoiuAlexandru Vulpoiu AlexVulpoiu Data 10 martie 2016 20:00:34
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: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ăşit284kbTime limit exceeded.00
2Depăşit284kbTime limit exceeded.00
3Depăşit276kbTime limit exceeded.00
4Depăşit284kbTime limit exceeded.00
5Depăşit324kbTime limit exceeded.00
6Depăşit480kbTime limit exceeded.0
7Depăşit668kbTime limit exceeded.00
8Depăşit668kbTime limit exceeded.0
9Depăşit664kbTime limit exceeded.0
10Depăşit672kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?