Borderou de evaluare (job #1763911)

Utilizator stefanchistefan chiper stefanchi Data 24 septembrie 2016 19:39:24
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In member function ‘int arbori_indexati_binar::sume2(int)’: user.cpp:18:11: warning: statement has no effect [-Wunused-value] for(y ; y > 0 ; y -= (y^(y-1))&y) ^ user.cpp: In member function ‘int arbori_indexati_binar::sume(int, int)’: user.cpp:50:10: warning: statement has no effect [-Wunused-value] for(y; y > 0 ; y -=(y^(y-1))&y) ^ user.cpp: In function ‘void read()’: user.cpp:60:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("aib.in","r",stdin); ^ user.cpp:61:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("aib.out","w",stdout); ^ user.cpp:62:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ user.cpp:67:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ",&nr); ^ user.cpp:73:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&task); ^ user.cpp:76:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&a,&b); ^ user.cpp:82:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a); ^ user.cpp:88:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit264kbTime limit exceeded.0
2Depăşit236kbTime limit exceeded.0
3Depăşit288kbTime limit exceeded.0
4Depăşit332kbTime limit exceeded.0
5Depăşit404kbTime limit exceeded.0
6Depăşit524kbTime limit exceeded.0
7Depăşit596kbTime limit exceeded.0
8Depăşit648kbTime limit exceeded.0
9Depăşit648kbTime limit exceeded.0
10Depăşit616kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?