Pagini recente » Borderou de evaluare (job #2390674) | Borderou de evaluare (job #2672819) | Borderou de evaluare (job #693006) | Borderou de evaluare (job #1127774) | Borderou de evaluare (job #1814390)
Borderou de evaluare (job #1814390)
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 | 248kb | OK | 5 |
2 | 0ms | 252kb | OK | 5 |
3 | 0ms | 284kb | OK | 5 |
4 | 0ms | 284kb | OK | 5 |
5 | 4ms | 524kb | OK | 5 |
6 | 4ms | 524kb | OK | 5 |
7 | 16ms | 796kb | OK | 5 |
8 | 16ms | 800kb | OK | 5 |
9 | 16ms | 800kb | OK | 5 |
10 | 16ms | 804kb | OK | 5 |
11 | 132ms | 1580kb | OK | 5 |
12 | 136ms | 1596kb | OK | 5 |
13 | 136ms | 1612kb | OK | 5 |
14 | 132ms | 1612kb | OK | 5 |
15 | 132ms | 1624kb | OK | 5 |
16 | 136ms | 1628kb | OK | 5 |
17 | 136ms | 1628kb | OK | 5 |
18 | 132ms | 1636kb | OK | 5 |
19 | 136ms | 1632kb | OK | 5 |
20 | 132ms | 1420kb | OK | 5 |
Punctaj total | 100 |