Borderou de evaluare (job #1970328)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 19 aprilie 2017 11:11:04
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
1312msDepăşitMemory limit exceeded.0
2312msDepăşitMemory limit exceeded.0
3312msDepăşitMemory limit exceeded.0
4312msDepăşitMemory limit exceeded.0
5312msDepăşitMemory limit exceeded.0
6320msDepăşitMemory limit exceeded.0
7312msDepăşitMemory limit exceeded.0
8324msDepăşitMemory limit exceeded.0
9320msDepăşitMemory limit exceeded.0
10312msDepăşitMemory limit exceeded.0
11324msDepăşitMemory limit exceeded.0
12312msDepăşitMemory limit exceeded.0
13324msDepăşitMemory limit exceeded.0
14312msDepăşitMemory limit exceeded.0
15324msDepăşitMemory limit exceeded.0
16312msDepăşitMemory limit exceeded.0
17312msDepăşitMemory limit exceeded.0
18312msDepăşitMemory limit exceeded.0
19312msDepăşitMemory limit exceeded.0
20312msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?