Pagini recente » Borderou de evaluare (job #3021452) | Borderou de evaluare (job #3021456) | Borderou de evaluare (job #1977408) | Borderou de evaluare (job #3021433) | Borderou de evaluare (job #1716450)
Borderou de evaluare (job #1716450)
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 |
| 1 | 0ms | 280kb | OK | 5 |
| 2 | 0ms | 280kb | OK | 5 |
| 3 | 0ms | 312kb | OK | 5 |
| 4 | 0ms | 312kb | OK | 5 |
| 5 | 4ms | 540kb | OK | 5 |
| 6 | 4ms | 540kb | OK | 5 |
| 7 | 36ms | 796kb | OK | 5 |
| 8 | 36ms | 792kb | OK | 5 |
| 9 | 36ms | 800kb | OK | 5 |
| 10 | 36ms | 800kb | OK | 5 |
| 11 | Depăşit | 1272kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 1276kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 1276kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 1276kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 1276kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 1276kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 1276kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 1276kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 1272kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 1276kb | Time limit exceeded. | 0 |
| Punctaj total | 50 |