Borderou de evaluare (job #1765400)

Utilizator oldatlantianSerban Cercelescu oldatlantian Data 26 septembrie 2016 18:18:50
Problema Ratina Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void add_hash(const string&, int)’: user.cpp:23:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<str.size(); ++i) { ^ user.cpp:24:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] f = f * B1 + s1[str[i]]; ^ user.cpp:25:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] s = s * B2 + s2[str[i]]; ^ user.cpp: In function ‘void Ave()’: user.cpp:38:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(ant+m<hsh[w.front()].size()) ^ user.cpp:42:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(hsh[j].size()<=ant+m || pat!=hsh[j][ant+m]) { ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1240ms3572kbOK5
2236ms3576kbOK5
320ms632kbOK5
420ms640kbOK5
520ms636kbOK5
620ms632kbOK5
7240ms1864kbOK5
8236ms1840kbOK5
9236ms1844kbOK5
10244ms3576kbOK5
11256ms3568kbOK5
12228ms3572kbOK5
13236ms3572kbOK5
14224ms3572kbOK5
15244ms3568kbOK5
16184ms1768kbOK5
17332ms1848kbOK5
18340ms1848kbOK5
19332ms1848kbOK5
20328ms1844kbOK5
Punctaj total100

Ceva nu functioneaza?