Borderou de evaluare (job #2160786)

Utilizator MoodyFaresFares Mohamad MoodyFares Data 11 martie 2018 13:55:50
Problema Smooth2 Status done
Runda Algoritmiada 2018 Runda PreOJI Compilator cpp | Vezi sursa
Scor 3

Raport evaluator

Compilare: user.cpp: In function ‘bool smooth()’: user.cpp:19:10: warning: array subscript has type ‘char’ [-Wchar-subscripts] f1[ch]++; ^ user.cpp:20:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] myMax = max(f1[ch], myMax); ^ user.cpp:23:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (exist[a]) { ^ user.cpp:24:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] myMin = min(myMin, f1[a]); ^ user.cpp: In function ‘int main()’: user.cpp:38:9: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[ch]++; ^ user.cpp:39:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] exist[ch] = true; ^ user.cpp:44:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < s.size(); i++) { ^ user.cpp:46:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[first]--; ^ user.cpp:47:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (f[first] == 0) ^ user.cpp:48:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] exist[first] = false; ^ user.cpp:57:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[first]++; ^ user.cpp:33:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("smooth2.in", "r", stdin); ^ user.cpp:34:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("smooth2.out", "w", stdout); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
✓14ms2904kbOK!00
✓24ms2880kbOK!00
✓34ms2648kbOK!00
✓44ms2920kbRaspuns gresit!00
✗54ms2920kbOK!33
✗64ms2868kbRaspuns gresit!00
✗74ms2824kbRaspuns gresit!00
✗84ms2948kbRaspuns gresit!00
✗9424ms2948kbRaspuns gresit!00
✗10Depăşit2472kbTime limit exceeded.00
✗11Depăşit2520kbTime limit exceeded.00
✗12Depăşit2436kbTime limit exceeded.00
✗13Depăşit2808kbTime limit exceeded.0
✗14Depăşit2684kbTime limit exceeded.0
✗15Depăşit2720kbTime limit exceeded.0
✗16Depăşit2744kbTime limit exceeded.0
✗17Depăşit2744kbTime limit exceeded.0
✗18Depăşit2740kbTime limit exceeded.00
✗19Depăşit2724kbTime limit exceeded.0
✗20Depăşit2752kbTime limit exceeded.0
Punctaj total3

Ceva nu functioneaza?