Borderou de evaluare (job #1882538)

Utilizator sandupetrascoPetrasco Sandu sandupetrasco Data 17 februarie 2017 12:06:46
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:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] else rs[++cnt] = '0', u[s[i]] = 0, poz[cnt] = s[i]; ^ user.cpp:64:6: warning: array subscript has type ‘char’ [-Wchar-subscripts] u[c] = !u[c]; ^ user.cpp:64:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] u[c] = !u[c]; ^ user.cpp:66:32: 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:9: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized] return r; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms524kbOK10
20ms524kbIncorect0
30ms524kbIncorect0
40ms524kbIncorect0
50ms524kbOK10
60ms528kbOK10
70ms528kbOK10
80ms524kbOK10
90ms528kbOK10
100ms528kbOK10
Punctaj total70

Ceva nu functioneaza?