Borderou de evaluare (job #1311564)

Utilizator SpiderManSimoiu Robert SpiderMan Data 8 ianuarie 2015 13:05:52
Problema Sarac Sau Rege Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15: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:16: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:20: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:23:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^ user.cpp:32:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&x,&y); ^ user.cpp:51:51: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized] printf("%d\n",max(rmq[k][x],rmq[k][x+sh]) ); ^ user.cpp:34:9: warning: ‘l’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (l != lg[y - x + 1]) { ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK10
20ms276kbOK10
3656ms420kbOK10
4628ms276kbOK10
596msDepăşitMemory limit exceeded.0
660msDepăşitMemory limit exceeded.0
7752msDepăşitMemory limit exceeded.0
8752msDepăşitMemory limit exceeded.0
9756msDepăşitMemory limit exceeded.0
10744msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?