Pagini recente » Borderou de evaluare (job #1505740) | Borderou de evaluare (job #2664294) | Borderou de evaluare (job #1396109) | Borderou de evaluare (job #1178764) | Borderou de evaluare (job #2143667)
Borderou de evaluare (job #2143667)
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:61: 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:67: 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:61: 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:67: 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:57: 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:67: 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:57: 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:67: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1644kb | OK | 10 |
2 | 0ms | 1660kb | Incorect | 0 |
3 | 0ms | 1724kb | Incorect | 0 |
4 | 0ms | 1820kb | Incorect | 0 |
5 | 0ms | 2220kb | Incorect | 0 |
6 | 4ms | 2616kb | Incorect | 0 |
7 | 4ms | 2612kb | Incorect | 0 |
8 | 4ms | 2620kb | Incorect | 0 |
9 | 4ms | 2616kb | Incorect | 0 |
10 | 4ms | 2612kb | Incorect | 0 |
Punctaj total | 10 |