Borderou de evaluare (job #1438368)

Utilizator danielmaxim95FMI Maxim Daniel danielmaxim95 Data 19 mai 2015 19:35:37
Problema Padure Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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
10ms288kbKilled by signal 11(SIGSEGV).0
20ms320kbKilled by signal 11(SIGSEGV).0
30ms508kbKilled by signal 11(SIGSEGV).0
40ms764kbKilled by signal 11(SIGSEGV).0
50ms776kbKilled by signal 11(SIGSEGV).0
616ms2508kbKilled by signal 11(SIGSEGV).0
748ms5036kbIncorect0
8108ms8484kbKilled by signal 11(SIGSEGV).0
9200ms12016kbKilled by signal 11(SIGSEGV).0
10192ms12036kbIncorect0
Punctaj total0

Ceva nu functioneaza?