Borderou de evaluare (job #2068238)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 17 noiembrie 2017 14:22:49
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
10ms280kbOK55
20ms276kbOK55
30ms288kbOK55
40ms284kbOK55
50ms288kbIncorect00
60ms280kbIncorect00
70ms288kbIncorect00
80ms280kbIncorect00
90ms292kbOK55
100ms304kbOK55
110ms356kbIncorect00
128ms452kbIncorect00
138ms508kbIncorect00
144ms424kbIncorect00
1512ms520kbIncorect00
168ms788kbIncorect00
1716ms3632kbOK5
1836ms720kbOK5
1928ms760kbIncorect0
2028ms760kbIncorect0
Punctaj total30

Ceva nu functioneaza?