Pagini recente » Borderou de evaluare (job #2951052) | Borderou de evaluare (job #2574708) | Borderou de evaluare (job #2953640) | Borderou de evaluare (job #2355079) | Borderou de evaluare (job #1676146)
Borderou de evaluare (job #1676146)
Raport evaluator
Compilare:
user.cpp: In function ‘cell give(int, int, int)’:
user.cpp:28:24: warning: narrowing conversion of ‘f’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
return (cell){f, l, c};
^
user.cpp:28:24: warning: narrowing conversion of ‘l’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
user.cpp:28:24: warning: narrowing conversion of ‘c’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
user.cpp: In function ‘void enqueue(cell, int)’:
user.cpp:113:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dist[curr.f][curr.l][curr.c] = cost;
^
user.cpp:113:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dist[curr.f][curr.l][curr.c] = cost;
^
user.cpp:113:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dist[curr.f][curr.l][curr.c] = cost;
^
user.cpp: In function ‘void dequeue(cell*, int*)’:
user.cpp:118:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
(*cost) = dist[curr -> f][curr -> l][curr -> c] + 1;
^
user.cpp:118:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
(*cost) = dist[curr -> f][curr -> l][curr -> c] + 1;
^
user.cpp:118:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
(*cost) = dist[curr -> f][curr -> l][curr -> c] + 1;
^
user.cpp: In function ‘void lee(cell)’:
user.cpp:132:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (dist[next.f][next.l][next.c] == code[0]) {
^
user.cpp:132:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (dist[next.f][next.l][next.c] == code[0]) {
^
user.cpp:132:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (dist[next.f][next.l][next.c] == code[0]) {
^
user.cpp: In function ‘int main()’:
user.cpp:164:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < hole.size(); i++) {
^
user.cpp:166:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ((dist[hole[i].f][hole[i].l][hole[i].c] != code[1]) && (dist[hole[i].f][hole[i].l][hole[i].c] != code[0])) {
^
user.cpp:166:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ((dist[hole[i].f][hole[i].l][hole[i].c] != code[1]) && (dist[hole[i].f][hole[i].l][hole[i].c] != code[0])) {
^
user.cpp:166:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ((dist[hole[i].f][hole[i].l][hole[i].c] != code[1]) && (dist[hole[i].f][hole[i].l][hole[i].c] != code[0])) {
^
user.cpp:166:78: warning: array subscript has type ‘char’ [-Wchar-subscripts]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 308kb | OK | 10 |
| 2 | 0ms | 312kb | OK | 10 |
| 3 | 0ms | 308kb | OK | 10 |
| 4 | 0ms | 324kb | OK | 10 |
| 5 | 0ms | 316kb | OK | 10 |
| 6 | 4ms | 316kb | Incorect | 0 |
| 7 | 0ms | 320kb | Incorect | 0 |
| 8 | 0ms | 324kb | OK | 10 |
| 9 | 0ms | 320kb | OK | 10 |
| 10 | 4ms | 324kb | OK | 10 |
| Punctaj total | 80 |