Borderou de evaluare (job #1438368)
Raport evaluator
Compilare:
user.cpp: In function ‘void citeste()’:
user.cpp:29:70: warning: format ‘%i’ expects argument of type ‘int*’, but argument 5 has type ‘char*’ [-Wformat=]
fscanf(f, "%i%i%i%i%i%i", &n, &m, &pozp.l, &pozp.c, &pozc.l, &pozc.c);
^
user.cpp:29:70: warning: format ‘%i’ expects argument of type ‘int*’, but argument 6 has type ‘char*’ [-Wformat=]
user.cpp:29:70: warning: format ‘%i’ expects argument of type ‘int*’, but argument 7 has type ‘char*’ [-Wformat=]
user.cpp:29:70: warning: format ‘%i’ expects argument of type ‘int*’, but argument 8 has type ‘char*’ [-Wformat=]
user.cpp:34:42: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(f, "%i", &padure[i][j].tipcopac);
^
user.cpp:39:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
padure[pozp.l][pozp.c].distanta = 0;
^
user.cpp:39:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
padure[pozp.l][pozp.c].distanta = 0;
^
user.cpp:40:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
padure[pozp.l][pozp.c].vizitat = true;
^
user.cpp:40:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
padure[pozp.l][pozp.c].vizitat = true;
^
user.cpp: In function ‘void incearca(casuta, char, char)’:
user.cpp:51:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (padure[t.l][t.c].distanta == INF)
^
user.cpp:51:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (padure[t.l][t.c].distanta == INF)
^
user.cpp:53:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
padure[t.l][t.c].distanta = padure[x.l][x.c].distanta;
^
user.cpp:53:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
padure[t.l][t.c].distanta = padure[x.l][x.c].distanta;
^
user.cpp:53:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
padure[t.l][t.c].distanta = padure[x.l][x.c].distanta;
^
user.cpp:53:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
padure[t.l][t.c].distanta = padure[x.l][x.c].distanta;
^
user.cpp:54:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (padure[t.l][t.c].tipcopac != padure[x.l][x.c].tipcopac)
^
user.cpp:54:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (padure[t.l][t.c].tipcopac != padure[x.l][x.c].tipcopac)
^
user.cpp:54:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (padure[t.l][t.c].tipcopac != padure[x.l][x.c].tipcopac)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 320kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 508kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 764kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 776kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 16ms | 2508kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 48ms | 5036kb | Incorect | 0 |
8 | 108ms | 8484kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 200ms | 12016kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 192ms | 12036kb | Incorect | 0 |
Punctaj total | 0 |