Borderou de evaluare (job #2068253)

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

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:71:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] add += cost[s[i - 1]][s[i]]; ^ user.cpp:71:43: warning: array subscript has type ‘char’ [-Wchar-subscripts] add += cost[s[i - 1]][s[i]]; ^ user.cpp:82:57: warning: array subscript has type ‘char’ [-Wchar-subscripts] best[0][0] += cost[s[now[0].first.first - 1]][s[now[0].first.first]]; ^ user.cpp:82:80: warning: array subscript has type ‘char’ [-Wchar-subscripts] best[0][0] += cost[s[now[0].first.first - 1]][s[now[0].first.first]]; ^ user.cpp:83:57: warning: array subscript has type ‘char’ [-Wchar-subscripts] best[0][1] += cost[s[now[0].first.first - 1]][s[now[0].first.first]]; ^ user.cpp:83:80: warning: array subscript has type ‘char’ [-Wchar-subscripts] best[0][1] += cost[s[now[0].first.first - 1]][s[now[0].first.first]]; ^ user.cpp:84:57: warning: array subscript has type ‘char’ [-Wchar-subscripts] best[1][1] += cost[s[now[0].first.first - 1]][s[now[0].first.second]]; ^ user.cpp:84:81: warning: array subscript has type ‘char’ [-Wchar-subscripts] best[1][1] += cost[s[now[0].first.first - 1]][s[now[0].first.second]]; ^ user.cpp:85:57: warning: array subscript has type ‘char’ [-Wchar-subscripts] best[1][0] += cost[s[now[0].first.first - 1]][s[now[0].first.second]]; ^ user.cpp:85:81: warning: array subscript has type ‘char’ [-Wchar-subscripts] best[1][0] += cost[s[now[0].first.first - 1]][s[now[0].first.second]]; ^ user.cpp:87:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < now.size(); i++) { ^ user.cpp:89:62: warning: array subscript has type ‘char’ [-Wchar-subscripts] best[0][0] += cost[s[now[i - 1].first.second]][s[now[i - 1].first.second + 1]]; ^ user.cpp:89:94: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms284kbOK55
20ms280kbOK55
30ms284kbOK55
40ms284kbOK55
50ms292kbOK55
60ms284kbOK55
70ms280kbOK55
80ms280kbOK55
90ms296kbOK55
100ms308kbOK55
114ms368kbOK55
128ms476kbOK55
1312ms528kbOK55
148ms792kbOK55
1512ms792kbOK55
168ms804kbOK525
1720ms4356kbOK5
1836ms1224kbOK5
1928ms1056kbOK5
2032ms1252kbOK5
Punctaj total100

Ceva nu functioneaza?