Borderou de evaluare (job #2255741)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 7 octombrie 2018 15:28:33
Problema Logs Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:37:23: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] arr[1 - t & 1][sz1].h = 0; ~~^~~ user.cpp:38:23: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] arr[1 - t & 1][sz1].pos2 = arr[t & 1][i].pos2; ~~^~~ user.cpp:39:23: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] arr[1 - t & 1][arr[t & 1][i].pos2].pos1 = sz1; ~~^~~ user.cpp:42:23: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] arr[1 - t & 1][sz1].h = arr[t & 1][i].h; ~~^~~ user.cpp:43:23: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] arr[1 - t & 1][sz1].pos2 = arr[t & 1][i].pos2; ~~^~~ user.cpp:44:23: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] arr[1 - t & 1][arr[t & 1][i].pos2].pos1 = sz2; ~~^~~ user.cpp:49:34: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] ans = max(ans, arr[1 - t & 1][i].h * (m - i + 1)); ~~^~~ user.cpp:18:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d " ,&n,&m); ^ user.cpp:24:37: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(mat + 1, MAXM + 1, fi); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1332kbIncorect0
24ms1336kbIncorect0
320ms1352kbIncorect0
496ms1352kbIncorect0
5140ms1348kbIncorect0
6276ms1352kbIncorect0
7312ms1352kbIncorect0
8Depăşit1344kbTime limit exceeded.0
9360ms1352kbIncorect0
10360ms1348kbIncorect0
Punctaj total0

Ceva nu functioneaza?