Borderou de evaluare (job #1824897)

Utilizator raulmuresanRaul Muresan raulmuresan Data 8 decembrie 2016 15:42:50
Problema Criptare2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:34:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0; j < sir.length(); j++) ^ user.cpp:36:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(frec[sir[j]] == 0) ^ user.cpp:38:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] frec[sir[j]] = ch; ^ user.cpp:41:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] cuvant = cuvant + (char)frec[sir[j]]; ^ user.cpp:53:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0; j < sir.length(); j++) ^ user.cpp:55:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(frec[sir[j]] == 0) ^ user.cpp:57:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] frec[sir[j]] = ch; ^ user.cpp:60:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] cuvant = cuvant + (char)frec[sir[j]]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms464kbOK10
20ms472kbOK10
30ms480kbOK10
4144ms1688kbOK10
5308ms2708kbOK10
6300ms2712kbOK10
7304ms2840kbOK10
8308ms2844kbOK10
9308ms2716kbOK10
10300ms2720kbOK10
Punctaj total100

Ceva nu functioneaza?