Borderou de evaluare (job #1250389)

Utilizator MarcvsHdrMihai Leonte MarcvsHdr Data 28 octombrie 2014 01:19:01
Problema Mesaj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] exists[word[0]] = true; ^ user.cpp:36:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] prev[0][s[0]] = 0; ^ user.cpp:37:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] mindel[0] = (exists[s[0]] ? 0 : 1); ^ user.cpp:42:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] prev[i][s[i]] = i; ^ user.cpp:50:53: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (pointer < 0 || prev[pointer][words[j][k]] < 0) { ^ user.cpp:54:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] pointer = prev[pointer][words[j][k]] - 1; ^ user.cpp:48:12: warning: variable ‘matches’ set but not used [-Wunused-but-set-variable] bool matches = true; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbOK10
20ms448kbOK10
30ms456kbOK10
40ms496kbOK10
54ms596kbOK10
616ms756kbOK10
736ms948kbOK10
8148ms1256kbOK10
968ms1012kbOK10
10112ms1248kbOK10
Punctaj total100

Ceva nu functioneaza?