Pagini recente » Borderou de evaluare (job #1723272) | Borderou de evaluare (job #1495475) | Borderou de evaluare (job #2043056) | Borderou de evaluare (job #2040768) | Borderou de evaluare (job #1716452)
Borderou de evaluare (job #1716452)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48: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:48: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:48: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:52: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:52: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:53:20: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
max=Dp[1-k&1][i][j].strazi;
^
user.cpp:54: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:54: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:54: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:54: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:55: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:55: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: In function ‘char nextch()’:
user.cpp:18:30: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buf,1,MAXBUF,fi);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 252kb | OK | 5 |
| 2 | 0ms | 252kb | OK | 5 |
| 3 | 0ms | 288kb | OK | 5 |
| 4 | 0ms | 284kb | OK | 5 |
| 5 | 4ms | 520kb | OK | 5 |
| 6 | 4ms | 520kb | OK | 5 |
| 7 | 16ms | 800kb | OK | 5 |
| 8 | 16ms | 796kb | OK | 5 |
| 9 | 16ms | 796kb | OK | 5 |
| 10 | 16ms | 800kb | OK | 5 |
| 11 | 136ms | 1572kb | OK | 5 |
| 12 | 136ms | 1592kb | OK | 5 |
| 13 | 132ms | 1608kb | OK | 5 |
| 14 | 136ms | 1616kb | OK | 5 |
| 15 | 132ms | 1628kb | OK | 5 |
| 16 | 132ms | 1632kb | OK | 5 |
| 17 | 132ms | 1628kb | OK | 5 |
| 18 | 136ms | 1636kb | OK | 5 |
| 19 | 136ms | 1636kb | OK | 5 |
| 20 | 132ms | 1420kb | OK | 5 |
| Punctaj total | 100 |