Borderou de evaluare (job #2004046)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 24 iulie 2017 19:39:13
Problema Excursie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:67:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] inq[q[b].l][q[b].c] = 0; ^ user.cpp:67:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] inq[q[b].l][q[b].c] = 0; ^ user.cpp:72:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(ans[l][c].first - ans[q[b].l][q[b].c].first - efort(h[q[b].l][q[b].c], h[l][c]) > 0) { ^ user.cpp:72:56: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(ans[l][c].first - ans[q[b].l][q[b].c].first - efort(h[q[b].l][q[b].c], h[l][c]) > 0) { ^ user.cpp:72:80: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(ans[l][c].first - ans[q[b].l][q[b].c].first - efort(h[q[b].l][q[b].c], h[l][c]) > 0) { ^ user.cpp:72:88: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(ans[l][c].first - ans[q[b].l][q[b].c].first - efort(h[q[b].l][q[b].c], h[l][c]) > 0) { ^ user.cpp:73:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] ans[l][c].first = ans[q[b].l][q[b].c].first + efort(h[q[b].l][q[b].c], h[l][c]); ^ user.cpp:73:57: warning: array subscript has type ‘char’ [-Wchar-subscripts] ans[l][c].first = ans[q[b].l][q[b].c].first + efort(h[q[b].l][q[b].c], h[l][c]); ^ user.cpp:73:81: warning: array subscript has type ‘char’ [-Wchar-subscripts] ans[l][c].first = ans[q[b].l][q[b].c].first + efort(h[q[b].l][q[b].c], h[l][c]); ^ user.cpp:73:89: warning: array subscript has type ‘char’ [-Wchar-subscripts] ans[l][c].first = ans[q[b].l][q[b].c].first + efort(h[q[b].l][q[b].c], h[l][c]); ^ user.cpp:74:50: warning: array subscript has type ‘char’ [-Wchar-subscripts] ans[l][c].second = ans[q[b].l][q[b].c].second + dist(h[q[b].l][q[b].c], h[l][c]); ^ user.cpp:74:58: warning: array subscript has type ‘char’ [-Wchar-subscripts] ans[l][c].second = ans[q[b].l][q[b].c].second + dist(h[q[b].l][q[b].c], h[l][c]); ^ user.cpp:74:82: warning: array subscript has type ‘char’ [-Wchar-subscripts] ans[l][c].second = ans[q[b].l][q[b].c].second + dist(h[q[b].l][q[b].c], h[l][c]); ^ user.cpp:74:90: warning: array subscript has type ‘char’ [-Wchar-subscripts] ans[l][c].second = ans[q[b].l][q[b].c].second + dist(h[q[b].l][q[b].c], h[l][c]); ^ user.cpp:77:32: warning: narrowing conversion of ‘l’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] q[e++] = {l, c}; ^ user.cpp:77:32: warning: narrowing conversion of ‘c’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] user.cpp:81:59: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if(myabs(ans[l][c].first - ans[q[b].l][q[b].c].first - efort(h[q[b].l][q[b].c], h[l][c])) < eps){ ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms536kbOK!5
20ms536kbOK!5
30ms540kbOK!5
40ms540kbOK!5
50ms548kbOK!5
60ms532kbOK!5
70ms548kbOK!5
80ms548kbOK!5
90ms536kbOK!5
100ms544kbOK!5
110ms540kbOK!5
120ms552kbOK!5
130ms552kbOK!5
140ms532kbOK!5
150ms532kbOK!5
164ms580kbOK!5
174ms576kbOK!5
184ms572kbOK!5
190ms552kbOK!5
200ms536kbOK!5
Punctaj total100

Ceva nu functioneaza?