Borderou de evaluare (job #1829413)

Utilizator raulmuresanRaul Muresan raulmuresan Data 14 decembrie 2016 22:11:11
Problema Randuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int Common(std::string, std::string)’: user.cpp:24:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[i][j] = C[i+1][j+1] + 1; ^ user.cpp:24:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[i][j] = C[i+1][j+1] + 1; ^ user.cpp:26:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[i][j] = max(C[i+1][j], C[i][j+1]); ^ user.cpp:26:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[i][j] = max(C[i+1][j], C[i][j+1]); ^ user.cpp:26:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[i][j] = max(C[i+1][j], C[i][j+1]); ^ user.cpp:26:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[i][j] = max(C[i+1][j], C[i][j+1]); ^ user.cpp: In function ‘int main()’: user.cpp:46:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(getline(fin, s[++n])) ^ user.cpp:55:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] d[i][i] = 0; ^ user.cpp:55:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] d[i][i] = 0; ^ user.cpp:59:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] d[i][i + 1] = 0; ^ user.cpp:70:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] erased = d[i][k] + d[k][j]; ^ user.cpp:70:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] erased = d[i][k] + d[k][j]; ^ user.cpp:70:39: warning: array subscript has type ‘char’ [-Wchar-subscripts] erased = d[i][k] + d[k][j]; ^ user.cpp:70:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] erased = d[i][k] + d[k][j]; ^ user.cpp:71:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] if ( aux[i][j] && erased == diag - 2 ) erased++; ^ user.cpp:71:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] if ( aux[i][j] && erased == diag - 2 ) erased++; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms412kbOK1020
20ms416kbOK10
30ms420kbOK1040
40ms416kbOK10
54ms420kbOK10
64ms424kbOK10
74ms424kbOK100
8Depăşit428kbTime limit exceeded.0
948ms436kbOK10
100ms412kbOK10
Punctaj total60

Ceva nu functioneaza?