Borderou de evaluare (job #1197963)

Utilizator AlexandruValeanuAlexandru Valeanu AlexandruValeanu Data 14 iunie 2014 11:02:46
Problema Zimeria Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int cmp(const string&, const string&)’: user.cpp:20:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] if ( pos[ x[i] ] != pos[ y[i] ] ) ^ user.cpp:20:39: warning: array subscript has type ‘char’ [-Wchar-subscripts] if ( pos[ x[i] ] != pos[ y[i] ] ) ^ user.cpp:21:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] return pos[ x[i] ] < pos[ y[i] ]; ^ user.cpp:21:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] return pos[ x[i] ] < pos[ y[i] ]; ^ user.cpp: In function ‘int main()’: user.cpp:52:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( int i = 0; i < sir.size(); ++i ) ^ user.cpp:53:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] pos[ sir[i] ] = i; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbOK5
20ms508kbOK5
372ms2580kbOK5
4148msDepăşitMemory limit exceeded.0
5144msDepăşitMemory limit exceeded.0
6148msDepăşitMemory limit exceeded.0
70ms452kbOK5
80ms484kbOK5
90ms508kbOK5
104ms596kbOK5
1112ms568kbOK5
1224ms916kbOK5
1352ms1392kbOK5
14120ms2460kbOK5
15156ms2988kbOK5
1664msDepăşitMemory limit exceeded.0
1764msDepăşitMemory limit exceeded.0
1864msDepăşitMemory limit exceeded.0
1960msDepăşitMemory limit exceeded.0
2060msDepăşitMemory limit exceeded.0
Punctaj total60

Ceva nu functioneaza?