Borderou de evaluare (job #1882720)

Utilizator sandupetrascoPetrasco Sandu sandupetrasco Data 17 februarie 2017 13:58:52
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:49:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < s .size(); i++) ^ user.cpp:58:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] else rs[++cnt] = '0', u[s[i]] = 0, poz[cnt] = s[i]; ^ user.cpp:64:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] u[c] = !u[c]; ^ user.cpp:64:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] u[c] = !u[c]; ^ user.cpp:66:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (poz[i] == c) rs[i] = u[c] + '0'; ^ user.cpp: In function ‘bool fac(int)’: user.cpp:26:12: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized] return r; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms508kbOK10
20ms504kbIncorect0
30ms504kbIncorect0
40ms504kbIncorect0
50ms504kbOK10
60ms500kbOK10
70ms508kbOK10
80ms504kbOK10
90ms504kbOK10
100ms508kbOK10
Punctaj total70

Ceva nu functioneaza?