Borderou de evaluare (job #2182546)

Utilizator deiubejanAndrei Bejan deiubejan Data 22 martie 2018 14:27:15
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] fin >> x[i]; ^ user.cpp:15:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] fin >> y[i]; ^ user.cpp:18:11: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (x[i] == y[j]) { ^ user.cpp:18:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (x[i] == y[j]) { ^ user.cpp:19:8: warning: array subscript has type ‘char’ [-Wchar-subscripts] c[i][j] = c[i - 1][j - 1] + 1; ^ user.cpp:19:11: warning: array subscript has type ‘char’ [-Wchar-subscripts] c[i][j] = c[i - 1][j - 1] + 1; ^ user.cpp:20:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] nrsecv[++k] = x[i]; ^ user.cpp:20:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] nrsecv[++k] = x[i]; ^ user.cpp:23:8: warning: array subscript has type ‘char’ [-Wchar-subscripts] c[i][j] = max(c[i][j - 1], c[i - 1][j]); ^ user.cpp:23:11: warning: array subscript has type ‘char’ [-Wchar-subscripts] c[i][j] = max(c[i][j - 1], c[i - 1][j]); ^ user.cpp:23:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] c[i][j] = max(c[i][j - 1], c[i - 1][j]); ^ user.cpp:23:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] c[i][j] = max(c[i][j - 1], c[i - 1][j]); ^ user.cpp:24:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] fout << c[n][m] << "\n"; ^ user.cpp:24:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] fout << c[n][m] << "\n"; ^ user.cpp:26:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] fout << nrsecv[i] << " "; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms2944kbLungime incorecta!0
24ms2928kbLungime incorecta!0
34ms2780kbLungime incorecta!0
44ms2784kbLungime incorecta!0
54ms2792kbLungime incorecta!0
64ms2924kbLungime incorecta!0
74ms2792kbLungime incorecta!0
84ms2940kbLungime incorecta!0
94ms2828kbLungime incorecta!0
104ms2828kbLungime incorecta!0
Punctaj total0

Ceva nu functioneaza?