Pagini recente » Borderou de evaluare (job #847999) | Borderou de evaluare (job #1487767) | Borderou de evaluare (job #2302850) | Borderou de evaluare (job #1671780) | Borderou de evaluare (job #2252223)
Borderou de evaluare (job #2252223)
Raport evaluator
Compilare:
user.cpp: In function ‘bool ok(int)’:
user.cpp:15:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int poz = v[aux[0]][0], step, j, r = 0;
^
user.cpp:18:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (r + grad - 1 < v[aux[i-1]].size())
^
user.cpp:18:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (r + grad - 1 < v[aux[i-1]].size())
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
user.cpp:20:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
poz = v[aux[i-1]][r + grad - 1];
^
user.cpp:25:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (step < v[aux[i]].size() - 1) step <<= 1;
^
user.cpp:25:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (step < v[aux[i]].size() - 1) step <<= 1;
~~~~~^~~~~~~~~~~~~~~~~~~~~~
user.cpp:29:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (j + step <= v[aux[i]].size() - 1 && v[aux[i]][j + step] <= poz)
^
user.cpp:29:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j + step <= v[aux[i]].size() - 1 && v[aux[i]][j + step] <= poz)
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
user.cpp:29:61: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (j + step <= v[aux[i]].size() - 1 && v[aux[i]][j + step] <= poz)
^
user.cpp:35:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (v[aux[i]][j] <= poz)
^
user.cpp:42:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (r + grad - 1 >= v[aux[m-1]].size())
^
user.cpp:42:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (r + grad - 1 >= v[aux[m-1]].size())
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:75:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[s[i]].push_back(i);
^
user.cpp: In function ‘int cb()’:
user.cpp:67:12: warning: ‘ind’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return ind;
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1340kb | OK | 10 | 20 |
2 | 0ms | 1336kb | OK | 10 |
3 | 8ms | 1372kb | OK | 10 | 20 |
4 | 12ms | 1400kb | OK | 10 |
5 | 192ms | 1496kb | OK | 10 | 30 |
6 | 320ms | 1496kb | OK | 10 |
7 | 436ms | 1492kb | OK | 10 |
8 | 588ms | 2024kb | OK | 10 | 30 |
9 | 372ms | 2028kb | OK | 10 |
10 | 500ms | 1964kb | OK | 10 |
Punctaj total | 100 |