Borderou de evaluare (job #1197962)

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

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
10ms460kbIncorect0
20ms512kbIncorect0
376ms2584kbIncorect0
4144msDepăşitMemory limit exceeded.0
5148msDepăşitMemory limit exceeded.0
6144msDepăşitMemory limit exceeded.0
70ms452kbOK5
80ms480kbOK5
90ms508kbOK5
104ms592kbOK5
1112ms564kbOK5
1224ms916kbOK5
1352ms1396kbOK5
14120ms2460kbOK5
15156ms2984kbOK5
1664msDepăşitMemory limit exceeded.0
1760msDepăşitMemory limit exceeded.0
1860msDepăşitMemory limit exceeded.0
1960msDepăşitMemory limit exceeded.0
2064msDepăşitMemory limit exceeded.0
Punctaj total45

Ceva nu functioneaza?