Borderou de evaluare (job #2160485)

Utilizator vlasiuflaviusVlasiu Flavius vlasiuflavius Data 11 martie 2018 13:05:46
Problema Smooth2 Status done
Runda Algoritmiada 2018 Runda PreOJI Compilator cpp | Vezi sursa
Scor 3

Raport evaluator

Compilare: user.cpp: In function ‘void backtr(int)’: user.cpp:12:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( niv == s.length() + 1 ) ^ user.cpp:15:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( int i = 0 ; i < s.length() ; i++ ) ^ user.cpp:23:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] frc[ it ]++; ^ user.cpp:28:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( frc[ it ] ) ^ user.cpp:29:44: warning: array subscript has type ‘char’ [-Wchar-subscripts] mini = min( mini , frc[ it ] ); ^ user.cpp:30:40: warning: array subscript has type ‘char’ [-Wchar-subscripts] maxi = max( maxi , frc[ it ] ); ^ user.cpp:34:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] frc[ it ]--; ^ user.cpp: In function ‘int main()’: user.cpp:40:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( i = 0 ; i < s.length() ; i++ ) ^ user.cpp:42:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( frc[ s[ i ] ] == 0 ) ^ user.cpp:44:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] frc[ s[ i ] ] = 1; ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
✓14ms2736kbOK!00
✓24ms2920kbOK!00
✓34ms2924kbOK!00
✓48ms2732kbOK!00
✗54ms2704kbOK!33
✗64ms2812kbRaspuns gresit!00
✗712ms2748kbRaspuns gresit!00
✗84ms2864kbRaspuns gresit!00
✗9Depăşit2540kbTime limit exceeded.00
✗10Depăşit2508kbTime limit exceeded.00
✗11Depăşit2676kbTime limit exceeded.00
✗12Depăşit2664kbTime limit exceeded.00
✗1312ms3340kbRaspuns gresit!0
✗14Depăşit2440kbTime limit exceeded.0
✗1516ms3148kbRaspuns gresit!0
✗1620ms3180kbRaspuns gresit!0
✗1716ms3192kbRaspuns gresit!0
✗1820ms3368kbRaspuns gresit!00
✗1912ms3180kbRaspuns gresit!0
✗2012ms3324kbRaspuns gresit!0
Punctaj total3

Ceva nu functioneaza?