Borderou de evaluare (job #1969578)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 18 aprilie 2017 15:35:39
Problema Traseu3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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
10ms436kbKilled by signal 11(SIGSEGV).0
20ms496kbKilled by signal 11(SIGSEGV).0
30ms636kbKilled by signal 11(SIGSEGV).0
40ms496kbKilled by signal 11(SIGSEGV).0
50ms556kbKilled by signal 11(SIGSEGV).0
60ms704kbKilled by signal 11(SIGSEGV).0
70ms616kbKilled by signal 11(SIGSEGV).0
80ms448kbKilled by signal 11(SIGSEGV).0
94ms1236kbKilled by signal 11(SIGSEGV).0
100ms1408kbKilled by signal 11(SIGSEGV).0
110ms1424kbKilled by signal 11(SIGSEGV).0
120ms1124kbKilled by signal 11(SIGSEGV).0
134ms1276kbKilled by signal 11(SIGSEGV).0
144ms1184kbKilled by signal 11(SIGSEGV).0
154ms1324kbKilled by signal 11(SIGSEGV).0
160ms1436kbKilled by signal 11(SIGSEGV).0
170ms1428kbKilled by signal 11(SIGSEGV).0
180ms1420kbKilled by signal 11(SIGSEGV).0
194ms1424kbKilled by signal 11(SIGSEGV).0
204ms1436kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?