Borderou de evaluare (job #1298681)

Utilizator danyro364Savu Ioan Daniel danyro364 Data 23 decembrie 2014 00:49:48
Problema Sarac Sau Rege Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:41: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] a[i][j]=max(a[i-1][j],a[i-1][j+(1<<i-1)]); ^ user.cpp:8: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:9: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:10: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:12:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[0][i]); ^ user.cpp:23: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
10ms272kbOK10
20ms328kbOK10
3672ms828kbOK10
4644ms328kbOK10
516msDepăşitMemory limit exceeded.0
616msDepăşitMemory limit exceeded.0
716msDepăşitMemory limit exceeded.0
820msDepăşitMemory limit exceeded.0
920msDepăşitMemory limit exceeded.0
1020msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?