Borderou de evaluare (job #1745130)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 21 august 2016 12:52:25
Problema Culori3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] for(j=0;j<cif[1-i&1][1]||t>0;j++){ ^ user.cpp:31:18: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] t=t+dp[1-i&1][1][j]; ^ user.cpp:37:29: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] for(j=0;j<getmax(cif[1-i&1][0],cif[1-i&1][2])||t>0;j++){ ^ user.cpp:37:43: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] for(j=0;j<getmax(cif[1-i&1][0],cif[1-i&1][2])||t>0;j++){ ^ user.cpp:38:19: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] t=t+dp[1-i&1][0][j]+dp[1-i&1][2][j]; ^ user.cpp:38:35: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] t=t+dp[1-i&1][0][j]+dp[1-i&1][2][j]; ^ user.cpp:44:29: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] for(j=0;j<getmax(cif[1-i&1][1],cif[1-i&1][3])||t>0;j++){ ^ user.cpp:44:43: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] for(j=0;j<getmax(cif[1-i&1][1],cif[1-i&1][3])||t>0;j++){ ^ user.cpp:45:19: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] t=t+dp[1-i&1][1][j]+dp[1-i&1][3][j]; ^ user.cpp:45:35: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] t=t+dp[1-i&1][1][j]+dp[1-i&1][3][j]; ^ user.cpp:51:29: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] for(j=0;j<getmax(cif[1-i&1][2],cif[1-i&1][4])||t>0;j++){ ^ user.cpp:51:43: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] for(j=0;j<getmax(cif[1-i&1][2],cif[1-i&1][4])||t>0;j++){ ^ user.cpp:52:19: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] t=t+dp[1-i&1][2][j]+dp[1-i&1][4][j]; ^ user.cpp:52:35: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] t=t+dp[1-i&1][2][j]+dp[1-i&1][4][j]; ^ user.cpp:58:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] for(j=0;j<cif[1-i&1][3]||t>0;j++){ ^ user.cpp:59:18: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] t=t+dp[1-i&1][3][j]; ^ user.cpp:21:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms756kbOK5
20ms760kbOK5
30ms760kbOK5
40ms760kbOK5
50ms760kbOK5
64ms760kbOK5
74ms760kbOK5
820ms756kbOK5
916ms760kbOK5
1032ms760kbOK5
1168ms760kbOK5
1280ms756kbOK5
13Depăşit744kbTime limit exceeded.0
14Depăşit732kbTime limit exceeded.0
15Depăşit736kbTime limit exceeded.0
160ms760kbOK5
170ms760kbOK5
188ms760kbOK5
1936ms764kbOK5
20Depăşit736kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?