Borderou de evaluare (job #1311551)

Utilizator SpiderManSimoiu Robert SpiderMan Data 8 ianuarie 2015 12:44:00
Problema Sarac Sau Rege Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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:27: 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:29:21: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized] int x,y,diff,sh,k,t; ^ user.cpp:33: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
10ms256kbIncorect0
20ms276kbIncorect0
3668ms424kbIncorect0
4628ms276kbIncorect0
584msDepăşitMemory limit exceeded.0
648msDepăşitMemory limit exceeded.0
7740msDepăşitMemory limit exceeded.0
8732msDepăşitMemory limit exceeded.0
9732msDepăşitMemory limit exceeded.0
10744msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?