Pagini recente » Borderou de evaluare (job #1351725) | Borderou de evaluare (job #508432) | Borderou de evaluare (job #419948) | Borderou de evaluare (job #793445) | Borderou de evaluare (job #1676479)
Borderou de evaluare (job #1676479)
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:162:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < hole.size(); i++) {
^
user.cpp:163: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:163: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:163: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:163:78: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | OK | 10 |
2 | 0ms | 308kb | OK | 10 |
3 | 0ms | 300kb | OK | 10 |
4 | 0ms | 308kb | OK | 10 |
5 | 0ms | 308kb | OK | 10 |
6 | 4ms | 312kb | OK | 10 |
7 | 0ms | 312kb | OK | 10 |
8 | 0ms | 312kb | OK | 10 |
9 | 0ms | 312kb | OK | 10 |
10 | 4ms | 312kb | OK | 10 |
Punctaj total | 100 |