Borderou de evaluare (job #1473875)

Utilizator Vlad_lsc2008Lungu Vlad Vlad_lsc2008 Data 20 august 2015 13:38:35
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int zeros(int)’: user.cpp:11:19: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] return x^(x-1)&x; ^ user.cpp: In function ‘int main()’: user.cpp:42:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(fin,"r",stdin); ^ user.cpp:43:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(fou,"w",stdout); ^ user.cpp:44:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:47:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^ user.cpp:53:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&cod,&a); ^ user.cpp:54:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] if(cod!=2) scanf("%d",&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbOK10
20ms444kbOK10
344ms456kbOK10
4Depăşit532kbTime limit exceeded.0
5Depăşit568kbTime limit exceeded.0
6Depăşit688kbTime limit exceeded.0
7Depăşit764kbTime limit exceeded.0
8Depăşit820kbTime limit exceeded.0
9Depăşit824kbTime limit exceeded.0
10Depăşit824kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?