Borderou de evaluare (job #1923431)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 11 martie 2017 00:35:39
Problema Texttrim Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( int i = 0; i < str.length(); i ++ ) { ^ user.cpp:30:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( ( len + cst[ch] > val - 3 ) || ( len + cst[ch] > val && i == str.length() - 1 ) ) { ^ user.cpp:30:58: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( ( len + cst[ch] > val - 3 ) || ( len + cst[ch] > val && i == str.length() - 1 ) ) { ^ user.cpp:30:89: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( ( len + cst[ch] > val - 3 ) || ( len + cst[ch] > val && i == str.length() - 1 ) ) { ^ user.cpp:36:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] len += cst[ch]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms452kbOK100
20ms444kbOK10
30ms448kbIncorect0
40ms448kbOK10
50ms508kbOK10
60ms784kbOK10
74ms1344kbOK10
812ms1340kbOK10
94ms1344kbOK10
104ms1344kbOK10
Punctaj total0

Ceva nu functioneaza?