Borderou de evaluare (job #1824889)

Utilizator raulmuresanRaul Muresan raulmuresan Data 8 decembrie 2016 15:37:51
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:35:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0; j < sir.length(); j++) ^ user.cpp:37:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(frec[sir[j]] == 0) ^ user.cpp:39:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] frec[sir[j]] = ch; ^ user.cpp:42:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] cuvant = cuvant + (char)frec[sir[j]]; ^ user.cpp:55:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0; j < sir.length(); j++) ^ user.cpp:57:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(frec[sir[j]] == 0) ^ user.cpp:59:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] frec[sir[j]] = ch; ^ user.cpp:62: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
30ms488kbOK10
4144ms1692kbOK10
5308ms2708kbOK10
6308ms2716kbOK10
7300ms2840kbOK10
8296ms2848kbOK10
9296ms2716kbOK10
10296ms2716kbOK10
Punctaj total100

Ceva nu functioneaza?