Borderou de evaluare (job #1970341)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 19 aprilie 2017 11:25:13
Problema Traseu3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(fi,"%d %d " ,&n,&m); ^ user.cpp:27: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:27:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=] user.cpp:27:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘char*’ [-Wformat=] user.cpp:27:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘char*’ [-Wformat=] user.cpp:27:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘char*’ [-Wformat=] user.cpp:27:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘char*’ [-Wformat=] user.cpp:30:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(fi,"%d %d %d " ,&lvl,&l,&c); ^ user.cpp:30:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=] user.cpp:30:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘char*’ [-Wformat=] user.cpp:31:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] viz[lvl][l][c]=1; ^ user.cpp:31:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] viz[lvl][l][c]=1; ^ user.cpp:31:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] viz[lvl][l][c]=1; ^ user.cpp:37:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] dist[s.lvl][s.l][s.c]=1; ^ user.cpp:37:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] dist[s.lvl][s.l][s.c]=1; ^ user.cpp:37:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] dist[s.lvl][s.l][s.c]=1; ^ user.cpp:44:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(check(lvl+dlvl[i],l+dl[i],c+dc[i],n)&&viz[lvl+dlvl[i]][l+dl[i]][c+dc[i]]==0&&dist[lvl+dlvl[i]][l+dl[i]][c+dc[i]]==0){ ^ user.cpp:44:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(check(lvl+dlvl[i],l+dl[i],c+dc[i],n)&&viz[lvl+dlvl[i]][l+dl[i]][c+dc[i]]==0&&dist[lvl+dlvl[i]][l+dl[i]][c+dc[i]]==0){ ^ user.cpp:44:45: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(check(lvl+dlvl[i],l+dl[i],c+dc[i],n)&&viz[lvl+dlvl[i]][l+dl[i]][c+dc[i]]==0&&dist[lvl+dlvl[i]][l+dl[i]][c+dc[i]]==0){ ^ user.cpp:44:65: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(check(lvl+dlvl[i],l+dl[i],c+dc[i],n)&&viz[lvl+dlvl[i]][l+dl[i]][c+dc[i]]==0&&dist[lvl+dlvl[i]][l+dl[i]][c+dc[i]]==0){ ^ user.cpp:44:74: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(check(lvl+dlvl[i],l+dl[i],c+dc[i],n)&&viz[lvl+dlvl[i]][l+dl[i]][c+dc[i]]==0&&dist[lvl+dlvl[i]][l+dl[i]][c+dc[i]]==0){ ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1292ms11660kbKilled by signal 11(SIGSEGV).0
2308ms11660kbKilled by signal 11(SIGSEGV).0
3292ms11660kbKilled by signal 11(SIGSEGV).0
4288ms11664kbKilled by signal 11(SIGSEGV).0
5288ms11656kbKilled by signal 11(SIGSEGV).0
6288ms11656kbKilled by signal 11(SIGSEGV).0
7288ms11664kbKilled by signal 11(SIGSEGV).0
8288ms11656kbKilled by signal 11(SIGSEGV).0
9288ms11664kbKilled by signal 11(SIGSEGV).0
10292ms11660kbKilled by signal 11(SIGSEGV).0
11316ms11664kbKilled by signal 11(SIGSEGV).0
12288ms11660kbKilled by signal 11(SIGSEGV).0
13312ms11660kbKilled by signal 11(SIGSEGV).0
14304ms11660kbKilled by signal 11(SIGSEGV).0
15300ms11660kbKilled by signal 11(SIGSEGV).0
16304ms11660kbKilled by signal 11(SIGSEGV).0
17308ms11660kbKilled by signal 11(SIGSEGV).0
18288ms11660kbKilled by signal 11(SIGSEGV).0
19292ms11660kbKilled by signal 11(SIGSEGV).0
20288ms11660kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?