Borderou de evaluare (job #2160427)

Utilizator Vlad3108Tir Vlad Ioan Vlad3108 Data 11 martie 2018 12:50:44
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:57:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] ap[s[i]]=1; ^ user.cpp:59:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(ap[i]) v[++k]=i; ^ user.cpp:52: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:53: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:54: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
14ms3012kbOK!00
24ms2740kbOK!00
38ms2900kbOK!00
44ms2724kbRaspuns gresit!00
54ms2728kbOK!33
68ms2712kbRaspuns gresit!00
7300ms3072kbOK!22
84ms3052kbRaspuns gresit!00
94ms3064kbOK!33
104ms2744kbOK!33
11Depăşit2596kbTime limit exceeded.00
12Depăşit2376kbTime limit exceeded.00
134ms3152kbRaspuns gresit!0
14Depăşit2752kbTime limit exceeded.0
154ms3068kbRaspuns gresit!0
164ms2784kbRaspuns gresit!0
174ms2928kbRaspuns gresit!0
184ms2992kbRaspuns gresit!00
194ms2824kbRaspuns gresit!0
204ms3132kbRaspuns gresit!0
Punctaj total11

Ceva nu functioneaza?