Pagini recente » Cod sursa (job #2136683) | Rating arose red (arose) | Cod sursa (job #2219021) | Cod sursa (job #903229) | Borderou de evaluare (job #2143669)
Borderou de evaluare (job #2143669)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[x][y] = dp[x + 1][y - 1] + cost[v[x]][v[y]];
^
user.cpp:33:52: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[x][y] = dp[x + 1][y - 1] + cost[v[x]][v[y]];
^
user.cpp:34:62: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[x][y] = MIN(dp[x][y] , (dp[x][y - 2] + cost[v[y - 1]][v[y]]) );
^
user.cpp:9:26: note: in definition of macro ‘MIN’
#define MIN(a , b) ((a < b) ? a : b)
^
user.cpp:34:68: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[x][y] = MIN(dp[x][y] , (dp[x][y - 2] + cost[v[y - 1]][v[y]]) );
^
user.cpp:9:26: note: in definition of macro ‘MIN’
#define MIN(a , b) ((a < b) ? a : b)
^
user.cpp:34:62: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[x][y] = MIN(dp[x][y] , (dp[x][y - 2] + cost[v[y - 1]][v[y]]) );
^
user.cpp:9:35: note: in definition of macro ‘MIN’
#define MIN(a , b) ((a < b) ? a : b)
^
user.cpp:34:68: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[x][y] = MIN(dp[x][y] , (dp[x][y - 2] + cost[v[y - 1]][v[y]]) );
^
user.cpp:9:35: note: in definition of macro ‘MIN’
#define MIN(a , b) ((a < b) ? a : b)
^
user.cpp:35:58: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[x][y] = MIN(dp[x][y] , (dp[x + 2][y] + cost[v[x]][v[x + 1]]) );
^
user.cpp:9:26: note: in definition of macro ‘MIN’
#define MIN(a , b) ((a < b) ? a : b)
^
user.cpp:35:68: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[x][y] = MIN(dp[x][y] , (dp[x + 2][y] + cost[v[x]][v[x + 1]]) );
^
user.cpp:9:26: note: in definition of macro ‘MIN’
#define MIN(a , b) ((a < b) ? a : b)
^
user.cpp:35:58: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[x][y] = MIN(dp[x][y] , (dp[x + 2][y] + cost[v[x]][v[x + 1]]) );
^
user.cpp:9:35: note: in definition of macro ‘MIN’
#define MIN(a , b) ((a < b) ? a : b)
^
user.cpp:35:68: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1644kb | OK | 10 |
2 | 0ms | 1664kb | Incorect | 0 |
3 | 0ms | 1720kb | Incorect | 0 |
4 | 0ms | 1824kb | Incorect | 0 |
5 | 0ms | 2220kb | Incorect | 0 |
6 | 4ms | 2612kb | Incorect | 0 |
7 | 4ms | 2616kb | Incorect | 0 |
8 | 4ms | 2616kb | Incorect | 0 |
9 | 4ms | 2612kb | Incorect | 0 |
10 | 4ms | 2620kb | Incorect | 0 |
Punctaj total | 10 |