Pagini recente » Borderou de evaluare (job #3200024) | Borderou de evaluare (job #1572384) | Borderou de evaluare (job #181799) | Borderou de evaluare (job #2375300) | Borderou de evaluare (job #1969578)
Borderou de evaluare (job #1969578)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool Cell::operator=(const Cell&)’:
user.cpp:16:4: warning: no return statement in function returning non-void [-Wreturn-type]
};
^
user.cpp: In function ‘int main()’:
user.cpp:34:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(fi,"%d %d %d %d %d %d " ,&s.lvl,&s.l,&s.c,&d.lvl,&d.l,&d.c);
^
user.cpp:34:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=]
user.cpp:34:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘char*’ [-Wformat=]
user.cpp:34:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘char*’ [-Wformat=]
user.cpp:34:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘char*’ [-Wformat=]
user.cpp:34:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘char*’ [-Wformat=]
user.cpp:38:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(fi,"%d %d %d " ,&x.lvl,&x.l,&x.c);
^
user.cpp:38:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=]
user.cpp:38:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘char*’ [-Wformat=]
user.cpp:39:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
viz[x.lvl][x.l][x.c]=1;
^
user.cpp:39:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
viz[x.lvl][x.l][x.c]=1;
^
user.cpp:39:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
viz[x.lvl][x.l][x.c]=1;
^
user.cpp:43:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dist[s.lvl][s.l][s.c]=1;
^
user.cpp:43:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dist[s.lvl][s.l][s.c]=1;
^
user.cpp:43:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dist[s.lvl][s.l][s.c]=1;
^
user.cpp:52:24: warning: narrowing conversion of ‘(dlvl[i] + lvl)’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
q[e++]={lvl+dlvl[i],l+dl[i],c+dc[i]};
^
user.cpp:52:34: warning: narrowing conversion of ‘(dl[i] + l)’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
q[e++]={lvl+dlvl[i],l+dl[i],c+dc[i]};
^
user.cpp:52:42: warning: narrowing conversion of ‘(dc[i] + c)’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
q[e++]={lvl+dlvl[i],l+dl[i],c+dc[i]};
^
user.cpp:55:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fprintf(fout,"%d\n" ,dist[d.lvl][d.l][d.c]);
^
user.cpp:55:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fprintf(fout,"%d\n" ,dist[d.lvl][d.l][d.c]);
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 496kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 636kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 496kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 556kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 704kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 616kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 448kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 4ms | 1236kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 1408kb | Killed by signal 11(SIGSEGV). | 0 |
11 | 0ms | 1424kb | Killed by signal 11(SIGSEGV). | 0 |
12 | 0ms | 1124kb | Killed by signal 11(SIGSEGV). | 0 |
13 | 4ms | 1276kb | Killed by signal 11(SIGSEGV). | 0 |
14 | 4ms | 1184kb | Killed by signal 11(SIGSEGV). | 0 |
15 | 4ms | 1324kb | Killed by signal 11(SIGSEGV). | 0 |
16 | 0ms | 1436kb | Killed by signal 11(SIGSEGV). | 0 |
17 | 0ms | 1428kb | Killed by signal 11(SIGSEGV). | 0 |
18 | 0ms | 1420kb | Killed by signal 11(SIGSEGV). | 0 |
19 | 4ms | 1424kb | Killed by signal 11(SIGSEGV). | 0 |
20 | 4ms | 1436kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |