Borderou de evaluare (job #1716450)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 12 iunie 2016 20:12:32
Problema Roy-Floyd Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:26: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] cost=getmin(Dp[1-k&1][i][j].lung,Dp[1-k&1][i][k].lung+Dp[1-k&1][k][j].lung); ^ user.cpp:28:47: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] cost=getmin(Dp[1-k&1][i][j].lung,Dp[1-k&1][i][k].lung+Dp[1-k&1][k][j].lung); ^ user.cpp:28:68: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] cost=getmin(Dp[1-k&1][i][j].lung,Dp[1-k&1][i][k].lung+Dp[1-k&1][k][j].lung); ^ user.cpp:31:23: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(cost==Dp[1-k&1][i][j].lung&&max<Dp[1-k&1][i][j].strazi) ^ user.cpp:31:49: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(cost==Dp[1-k&1][i][j].lung&&max<Dp[1-k&1][i][j].strazi) ^ user.cpp:32:20: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] max=Dp[1-k&1][i][j].strazi; ^ user.cpp:33:23: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(cost==Dp[1-k&1][i][k].lung+Dp[1-k&1][k][j].lung&&max<Dp[1-k&1][i][k].strazi+Dp[1-k&1][k][j].strazi) ^ user.cpp:33:44: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(cost==Dp[1-k&1][i][k].lung+Dp[1-k&1][k][j].lung&&max<Dp[1-k&1][i][k].strazi+Dp[1-k&1][k][j].strazi) ^ user.cpp:33:70: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(cost==Dp[1-k&1][i][k].lung+Dp[1-k&1][k][j].lung&&max<Dp[1-k&1][i][k].strazi+Dp[1-k&1][k][j].strazi) ^ user.cpp:33:93: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(cost==Dp[1-k&1][i][k].lung+Dp[1-k&1][k][j].lung&&max<Dp[1-k&1][i][k].strazi+Dp[1-k&1][k][j].strazi) ^ user.cpp:34:20: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] max=Dp[1-k&1][i][k].strazi+Dp[1-k&1][k][j].strazi; ^ user.cpp:34:43: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] max=Dp[1-k&1][i][k].strazi+Dp[1-k&1][k][j].strazi; ^ user.cpp:17:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d" ,&n); ^ user.cpp:20:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d" ,&Dp[0][i][j].lung); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOK5
20ms280kbOK5
30ms312kbOK5
40ms312kbOK5
54ms540kbOK5
64ms540kbOK5
736ms796kbOK5
836ms792kbOK5
936ms800kbOK5
1036ms800kbOK5
11Depăşit1272kbTime limit exceeded.0
12Depăşit1276kbTime limit exceeded.0
13Depăşit1276kbTime limit exceeded.0
14Depăşit1276kbTime limit exceeded.0
15Depăşit1276kbTime limit exceeded.0
16Depăşit1276kbTime limit exceeded.0
17Depăşit1276kbTime limit exceeded.0
18Depăşit1276kbTime limit exceeded.0
19Depăşit1272kbTime limit exceeded.0
20Depăşit1276kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?