Pagini recente » Borderou de evaluare (job #405460) | Borderou de evaluare (job #2898895) | Borderou de evaluare (job #1699221) | Borderou de evaluare (job #1791733) | Borderou de evaluare (job #1676122)
Borderou de evaluare (job #1676122)
Raport evaluator
Compilare:
user.cpp: In function ‘cell give(int, int, int)’:
user.cpp:23:24: warning: narrowing conversion of ‘f’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
return (cell){f, l, c};
^
user.cpp:23:24: warning: narrowing conversion of ‘l’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
user.cpp:23:24: warning: narrowing conversion of ‘c’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
user.cpp: In function ‘void enqueue(cell, int)’:
user.cpp:108:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dist[curr.f][curr.l][curr.c] = cost;
^
user.cpp:108:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dist[curr.f][curr.l][curr.c] = cost;
^
user.cpp:108: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:114:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
(*cost) = dist[curr -> f][curr -> l][curr -> c] + 1;
^
user.cpp:114:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
(*cost) = dist[curr -> f][curr -> l][curr -> c] + 1;
^
user.cpp:114: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:134:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (dist[next.f][next.l][next.c] == HOLE) {
^
user.cpp:134:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (dist[next.f][next.l][next.c] == HOLE) {
^
user.cpp:134:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (dist[next.f][next.l][next.c] == HOLE) {
^
user.cpp:147:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
} else if (dist[next.f][next.l][next.c] == code[0]) {
^
user.cpp:147:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
} else if (dist[next.f][next.l][next.c] == code[0]) {
^
user.cpp:147:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
} else if (dist[next.f][next.l][next.c] == code[0]) {
^
user.cpp: In function ‘int main()’:
user.cpp:164:16: warning: unused variable ‘face’ [-Wunused-variable]
int i, j, k, face, l, c, bit, F, L, C;
^
user.cpp: In function ‘cell find(cell, int)’:
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | Incorect | 0 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 288kb | OK | 10 |
4 | 0ms | 288kb | Incorect | 0 |
5 | 0ms | 296kb | Incorect | 0 |
6 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 288kb | Incorect | 0 |
8 | 0ms | 268kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 292kb | OK | 10 |
10 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 30 |