Borderou de evaluare (job #1296898)

Utilizator dragangabrielDragan Andrei Gabriel dragangabriel Data 21 decembrie 2014 16:05:29
Problema Sarac Sau Rege Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void update(int)’: user.cpp:14:45: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] a[2][j]=max(a[1][j],a[1][j+(1<<i-1)]); ^ user.cpp: In function ‘int main()’: user.cpp:34:45: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] a[2][j]=max(a[1][j],a[1][j+(1<<i-1)]); ^ user.cpp:22:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.in","r",stdin); ^ user.cpp:23:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.out","w",stdout); ^ user.cpp:24: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:26:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[0][i]),a[1][i]=a[0][i]; ^ user.cpp:41:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
216ms284kbOK10
3Depăşit424kbTime limit exceeded.0
4Depăşit276kbTime limit exceeded.0
5Depăşit1028kbTime limit exceeded.0
6Depăşit1028kbTime limit exceeded.0
7Depăşit1024kbTime limit exceeded.0
8Depăşit1024kbTime limit exceeded.0
9Depăşit1028kbTime limit exceeded.0
10Depăşit1032kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?