Borderou de evaluare (job #1250040)

Utilizator MarcvsHdrMihai Leonte MarcvsHdr Data 27 octombrie 2014 19:30:04
Problema Mesaj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] exists[word[0]] = true; ^ user.cpp:34:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] prev[0][s[0]] = 0; ^ user.cpp:35:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] mindel[0] = (exists[s[0]] ? 0 : 1); ^ user.cpp:37:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < s.size(); ++i) { ^ user.cpp:40: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; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbOK10
20ms448kbOK10
30ms464kbOK10
40ms500kbOK10
54ms604kbOK10
616ms752kbOK10
736ms952kbOK10
8Depăşit1256kbTime limit exceeded.0
972ms1012kbOK10
10116ms1248kbOK10
Punctaj total90

Ceva nu functioneaza?