Borderou de evaluare (job #2068235)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 17 noiembrie 2017 14:04:53
Problema Papuci Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘std::pair<int, int> Solve(int, int)’: user.cpp:60:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] return make_pair(cost[s[a]][s[b]], cost[s[b]][s[a]]); ^ user.cpp:60:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] return make_pair(cost[s[a]][s[b]], cost[s[b]][s[a]]); ^ user.cpp:60:53: warning: array subscript has type ‘char’ [-Wchar-subscripts] return make_pair(cost[s[a]][s[b]], cost[s[b]][s[a]]); ^ user.cpp:60:59: warning: array subscript has type ‘char’ [-Wchar-subscripts] return make_pair(cost[s[a]][s[b]], cost[s[b]][s[a]]); ^ user.cpp:72:92: warning: array subscript has type ‘char’ [-Wchar-subscripts] newBest[0][0] = max(best[0][0], best[0][1]) + now.first + cost[s[i - 1]][s[i]]; ^ user.cpp:72:98: warning: array subscript has type ‘char’ [-Wchar-subscripts] newBest[0][0] = max(best[0][0], best[0][1]) + now.first + cost[s[i - 1]][s[i]]; ^ user.cpp:73:93: warning: array subscript has type ‘char’ [-Wchar-subscripts] newBest[0][1] = max(best[0][0], best[0][1]) + now.second + cost[s[i - 1]][s[other[i]]]; ^ user.cpp:73:106: warning: array subscript has type ‘char’ [-Wchar-subscripts] newBest[0][1] = max(best[0][0], best[0][1]) + now.second + cost[s[i - 1]][s[other[i]]]; ^ user.cpp:74:92: warning: array subscript has type ‘char’ [-Wchar-subscripts] newBest[1][0] = max(best[1][0], best[1][1]) + now.first + cost[s[i - 1]][s[i]]; ^ user.cpp:74:98: warning: array subscript has type ‘char’ [-Wchar-subscripts] newBest[1][0] = max(best[1][0], best[1][1]) + now.first + cost[s[i - 1]][s[i]]; ^ user.cpp:75:93: warning: array subscript has type ‘char’ [-Wchar-subscripts] newBest[1][1] = max(best[1][0], best[1][1]) + now.second + cost[s[i - 1]][s[other[i]]]; ^ user.cpp:75:106: warning: array subscript has type ‘char’ [-Wchar-subscripts] newBest[1][1] = max(best[1][0], best[1][1]) + now.second + cost[s[i - 1]][s[other[i]]]; ^ user.cpp:78:79: warning: array subscript has type ‘char’ [-Wchar-subscripts] newBest[0][0] = max(best[0][0] + now.first + cost[s[i - 1]][s[i]], best[0][1] + now.first + cost[s[other[i - 1]]][s[i]]); ^ user.cpp:78:85: warning: array subscript has type ‘char’ [-Wchar-subscripts] newBest[0][0] = max(best[0][0] + now.first + cost[s[i - 1]][s[i]], best[0][1] + now.first + cost[s[other[i - 1]]][s[i]]); ^ user.cpp:78:133: warning: array subscript has type ‘char’ [-Wchar-subscripts] newBest[0][0] = max(best[0][0] + now.first + cost[s[i - 1]][s[i]], best[0][1] + now.first + cost[s[other[i - 1]]][s[i]]); ^ user.cpp:78:139: warning: array subscript has type ‘char’ [-Wchar-subscripts] newBest[0][0] = max(best[0][0] + now.first + cost[s[i - 1]][s[i]], best[0][1] + now.first + cost[s[other[i - 1]]][s[i]]); ^ user.cpp:79:80: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms268kbOK55
20ms268kbOK55
30ms272kbOK55
40ms276kbOK55
50ms276kbIncorect00
60ms260kbIncorect00
70ms264kbIncorect00
80ms268kbIncorect00
90ms272kbOK55
100ms284kbOK55
110ms340kbIncorect00
128ms444kbIncorect00
138ms492kbIncorect00
144ms416kbIncorect00
1512ms508kbIncorect00
168ms772kbIncorect00
1716ms3624kbIncorect0
1836ms708kbOK5
1928ms744kbIncorect0
2024ms744kbIncorect0
Punctaj total30

Ceva nu functioneaza?