Pagini recente » Borderou de evaluare (job #2652487) | Borderou de evaluare (job #1664632) | Borderou de evaluare (job #2132054) | Borderou de evaluare (job #77771) | Borderou de evaluare (job #2855775)
Borderou de evaluare (job #2855775)
Raport evaluator
Compilare:
main.cpp:8:18: warning: left shift count >= width of type [-Wshift-count-overflow]
8 | int c[N][N], dp[1<<N][N];
| ~^~~
main.cpp: In function 'int main()':
main.cpp:30:26: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
30 | iii += (1 << aux - 1);
| ~~~~^~~
main.cpp:41:13: warning: array subscript i is outside array bounds of 'int [0][2000]' [-Warray-bounds]
41 | dp[i][0] = 0;
| ~~~~^
main.cpp:8:14: note: while referencing 'dp'
8 | int c[N][N], dp[1<<N][N];
| ^~
main.cpp:44:17: warning: array subscript i is outside array bounds of 'int [0][2000]' [-Warray-bounds]
44 | dp[i][j] = INF;
| ~~~~^
main.cpp:8:14: note: while referencing 'dp'
8 | int c[N][N], dp[1<<N][N];
| ^~
main.cpp:47:9: warning: array subscript 1 is outside array bounds of 'int [0][2000]' [-Warray-bounds]
47 | dp[1][0] = 0;
| ~~~~^
main.cpp:8:14: note: while referencing 'dp'
8 | int c[N][N], dp[1<<N][N];
| ^~
main.cpp:59:56: warning: array subscript i is outside array bounds of 'int [0][2000]' [-Warray-bounds]
59 | dp[ii][k] = min(dp[ii][k], dp[i][j] + c[j][k]);
| ~~~~^
main.cpp:8:14: note: while referencing 'dp'
8 | int c[N][N], dp[1<<N][N];
| ^~
main.cpp:59:49: warning: array subscript ii is outside array bounds of 'int [0][2000]' [-Warray-bounds]
59 | dp[ii][k] = min(dp[ii][k], dp[i][j] + c[j][k]);
| ~~~~~~~~^
main.cpp:8:14: note: while referencing 'dp'
8 | int c[N][N], dp[1<<N][N];
| ^~
main.cpp:59:46: warning: array subscript ii is outside array bounds of 'int [0][2000]' [-Warray-bounds]
59 | dp[ii][k] = min(dp[ii][k], dp[i][j] + c[j][k]);
| ~~~~~^
main.cpp:59:30: warning: array subscript ii is outside array bounds of 'int [0][2000]' [-Warray-bounds]
59 | dp[ii][k] = min(dp[ii][k], dp[i][j] + c[j][k]);
| ~~~~~^
main.cpp:8:14: note: while referencing 'dp'
8 | int c[N][N], dp[1<<N][N];
| ^~
main.cpp:75:32: warning: array subscript i is outside array bounds of 'int [0][2000]' [-Warray-bounds]
75 | rez = min(dp[i][n-1], rez);
| ~~~~~~~~~^
main.cpp:8:14: note: while referencing 'dp'
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 10ms | 15142kb | Killed by Signal 11 | 0 |
2 | 10ms | 15151kb | Killed by Signal 11 | 0 |
3 | 6ms | 2560kb | Incorect | 0 |
4 | 10ms | 15142kb | Killed by Signal 11 | 0 |
5 | 10ms | 15151kb | Killed by Signal 11 | 0 |
6 | 2ms | 184kb | Killed by Signal 11 | 0 |
7 | 6ms | 2560kb | Incorect | 0 |
8 | 6ms | 2560kb | Incorect | 0 |
9 | 6ms | 2560kb | Incorect | 0 |
10 | 6ms | 2547kb | Incorect | 0 |
11 | 6ms | 2560kb | Incorect | 0 |
12 | 6ms | 2560kb | Incorect | 0 |
13 | 6ms | 2560kb | Incorect | 0 |
14 | 15ms | 15364kb | Killed by Signal 11 | 0 |
15 | 13ms | 15282kb | Killed by Signal 11 | 0 |
16 | 10ms | 9027kb | Killed by Signal 11 | 0 |
17 | 14ms | 11128kb | Killed by Signal 11 | 0 |
18 | 23ms | 15331kb | Killed by Signal 11 | 0 |
19 | 34ms | 16211kb | Killed by Signal 11 | 0 |
20 | 6ms | 6623kb | Incorect | 0 |
Punctaj total | 0 |