Borderou de evaluare (job #2101425)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 7 ianuarie 2018 14:55:37
Problema Papuci Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int solve(int, int)’: user.cpp:41:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] val0 = cst[str[l]][str[l + 1]] + dp[x][0]; ^ user.cpp:41:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] val0 = cst[str[l]][str[l + 1]] + dp[x][0]; ^ user.cpp:43:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] val1 = cst[str[l]][str[l + 1]] + dp[x][1]; ^ user.cpp:43:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] val1 = cst[str[l]][str[l + 1]] + dp[x][1]; ^ user.cpp:47:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] val0 = cst[str[l]][str[l + 1]] + get(l + 1, v[x].first) + dp[x][0]; ^ user.cpp:47:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] val0 = cst[str[l]][str[l + 1]] + get(l + 1, v[x].first) + dp[x][0]; ^ user.cpp:49:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] val1 = cst[str[l]][str[l + 1]] + get(l + 1, v[x].first - 1) + cst[str[v[x].first - 1]][str[v[x].first]] + dp[x][1]; ^ user.cpp:49:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] val1 = cst[str[l]][str[l + 1]] + get(l + 1, v[x].first - 1) + cst[str[v[x].first - 1]][str[v[x].first]] + dp[x][1]; ^ user.cpp:49:94: warning: array subscript has type ‘char’ [-Wchar-subscripts] val1 = cst[str[l]][str[l + 1]] + get(l + 1, v[x].first - 1) + cst[str[v[x].first - 1]][str[v[x].first]] + dp[x][1]; ^ user.cpp:49:111: warning: array subscript has type ‘char’ [-Wchar-subscripts] val1 = cst[str[l]][str[l + 1]] + get(l + 1, v[x].first - 1) + cst[str[v[x].first - 1]][str[v[x].first]] + dp[x][1]; ^ user.cpp:59:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] aux0 = max(val0 + cst[str[r1]][str[v[x].first]], val1 + cst[str[l1]][str[v[x].first]]) + dp[x][0]; ^ user.cpp:59:59: warning: array subscript has type ‘char’ [-Wchar-subscripts] aux0 = max(val0 + cst[str[r1]][str[v[x].first]], val1 + cst[str[l1]][str[v[x].first]]) + dp[x][0]; ^ user.cpp:59:80: warning: array subscript has type ‘char’ [-Wchar-subscripts] aux0 = max(val0 + cst[str[r1]][str[v[x].first]], val1 + cst[str[l1]][str[v[x].first]]) + dp[x][0]; ^ user.cpp:59:97: warning: array subscript has type ‘char’ [-Wchar-subscripts] aux0 = max(val0 + cst[str[r1]][str[v[x].first]], val1 + cst[str[l1]][str[v[x].first]]) + dp[x][0]; ^ user.cpp:60:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] aux1 = max(val0 + cst[str[r1]][str[v[x].second]], val1 + cst[str[l1]][str[v[x].second]]) + dp[x][1]; ^ user.cpp:60:60: warning: array subscript has type ‘char’ [-Wchar-subscripts] aux1 = max(val0 + cst[str[r1]][str[v[x].second]], val1 + cst[str[l1]][str[v[x].second]]) + dp[x][1]; ^ user.cpp:60:81: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms2420kbIncorect00
20ms2420kbIncorect00
30ms2424kbIncorect00
40ms2428kbIncorect00
50ms2428kbIncorect00
60ms2428kbIncorect00
70ms2436kbIncorect00
80ms2432kbIncorect00
90ms2428kbIncorect00
100ms2432kbIncorect00
114ms2580kbIncorect00
1216ms2800kbIncorect00
1316ms2960kbIncorect00
1412ms2940kbIncorect00
1520ms3184kbIncorect00
1612ms3196kbIncorect00
1732ms3896kbOK5
1844ms3604kbIncorect0
1936ms3724kbIncorect0
2044ms4228kbIncorect0
Punctaj total0

Ceva nu functioneaza?