Borderou de evaluare (job #1969678)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 18 aprilie 2017 16:26:02
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:35: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:35:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=] user.cpp:35:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘char*’ [-Wformat=] user.cpp:35:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘char*’ [-Wformat=] user.cpp:35:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘char*’ [-Wformat=] user.cpp:35: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:56:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] fprintf(fout,"%d\n" ,dist[d.lvl][d.l][d.c]); ^ user.cpp:56: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
10ms444kbKilled by signal 11(SIGSEGV).0
20ms496kbKilled by signal 11(SIGSEGV).0
30ms620kbKilled by signal 11(SIGSEGV).0
40ms476kbKilled by signal 11(SIGSEGV).0
50ms552kbKilled by signal 11(SIGSEGV).0
60ms680kbKilled by signal 11(SIGSEGV).0
70ms608kbKilled by signal 11(SIGSEGV).0
80ms448kbKilled by signal 11(SIGSEGV).0
94ms1236kbKilled by signal 11(SIGSEGV).0
100ms1440kbKilled by signal 11(SIGSEGV).0
110ms1460kbKilled by signal 11(SIGSEGV).0
120ms1140kbKilled by signal 11(SIGSEGV).0
134ms1296kbKilled by signal 11(SIGSEGV).0
144ms1208kbKilled by signal 11(SIGSEGV).0
154ms1344kbKilled by signal 11(SIGSEGV).0
160ms1468kbKilled by signal 11(SIGSEGV).0
170ms1444kbKilled by signal 11(SIGSEGV).0
180ms1448kbKilled by signal 11(SIGSEGV).0
194ms1448kbKilled by signal 11(SIGSEGV).0
204ms1456kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?