Borderou de evaluare (job #1724496)

Utilizator Tiberiu02Tiberiu Musat Tiberiu02 Data 3 iulie 2016 13:11:08
Problema Sume 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp:9:22: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] # define MAX_VAL ( 1 << 21 + 1 ) ^ user.cpp:13:8: note: in expansion of macro ‘MAX_VAL’ int ls[MAX_VAL]; ^ user.cpp: In function ‘int main()’: user.cpp:9:22: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] # define MAX_VAL ( 1 << 21 + 1 ) ^ user.cpp:49:22: note: in expansion of macro ‘MAX_VAL’ for ( i = 1; i < MAX_VAL; i ++ ) ^ user.cpp:42:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d%d", &n, &k ); ^ user.cpp:45:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d", &v[i] ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
132msDepăşitMemory limit exceeded.0
232msDepăşitMemory limit exceeded.0
328msDepăşitMemory limit exceeded.0
436msDepăşitMemory limit exceeded.0
548msDepăşitMemory limit exceeded.0
648msDepăşitMemory limit exceeded.0
748msDepăşitMemory limit exceeded.0
848msDepăşitMemory limit exceeded.0
972msDepăşitMemory limit exceeded.0
1068msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?