Borderou de evaluare (job #2160417)

Utilizator Vlad3108Tir Vlad Ioan Vlad3108 Data 11 martie 2018 12:49:02
Problema Smooth2 Status done
Runda Algoritmiada 2018 Runda PreOJI Compilator cpp | Vezi sursa
Scor 11

Raport evaluator

Compilare: user.cpp: In function ‘bool Corect(char*)’: user.cpp:15:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] ++ap[s[i]]; ^ user.cpp:17:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(ap[i]>0) v[++k]=i; ^ user.cpp:18:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] ap[i]=0; ^ user.cpp:22:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] ++ap[s[j]]; ^ user.cpp:25:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(ap[v[i]]<Min) Min=ap[v[i]]; ^ user.cpp:25:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(ap[v[i]]<Min) Min=ap[v[i]]; ^ user.cpp:26:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(ap[v[i]]>Max) Max=ap[v[i]]; ^ user.cpp:26:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(ap[v[i]]>Max) Max=ap[v[i]]; ^ user.cpp:30:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] ap[s[j]]=0; ^ user.cpp: In function ‘int main()’: user.cpp:56:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] ap[s[i]]=1; ^ user.cpp:58:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(ap[i]) v[++k]=i; ^ user.cpp:51:33: 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:52:35: 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); ^ user.cpp:53:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",s); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
✓14ms2948kbOK!00
✓24ms2768kbOK!00
✓38ms2976kbOK!00
✓44ms2812kbRaspuns gresit!00
✗54ms2940kbOK!33
✗68ms2988kbRaspuns gresit!00
✗7300ms2788kbOK!22
✗84ms2976kbRaspuns gresit!00
✗94ms2584kbOK!33
✗104ms2940kbOK!33
✗11Depăşit2316kbTime limit exceeded.00
✗12Depăşit2356kbTime limit exceeded.00
✗134ms3072kbRaspuns gresit!0
✗14Depăşit2308kbTime limit exceeded.0
✗154ms2924kbRaspuns gresit!0
✗164ms3060kbRaspuns gresit!0
✗174ms2744kbRaspuns gresit!0
✗184ms3068kbRaspuns gresit!00
✗194ms2860kbRaspuns gresit!0
✗204ms3072kbRaspuns gresit!0
Punctaj total11

Ceva nu functioneaza?