Borderou de evaluare (job #2160407)

Utilizator Vlad3108Tir Vlad Ioan Vlad3108 Data 11 martie 2018 12:47:56
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
14ms2648kbOK!00
24ms2832kbOK!00
38ms2972kbOK!00
44ms2648kbRaspuns gresit!00
54ms2808kbOK!33
68ms2804kbRaspuns gresit!00
7300ms2812kbOK!22
84ms2988kbRaspuns gresit!00
94ms2960kbOK!33
104ms2676kbOK!33
11Depăşit2620kbTime limit exceeded.00
12Depăşit2356kbTime limit exceeded.00
134ms3036kbRaspuns gresit!0
14Depăşit2528kbTime limit exceeded.0
154ms2816kbRaspuns gresit!0
164ms2836kbRaspuns gresit!0
174ms2816kbRaspuns gresit!0
184ms3052kbRaspuns gresit!00
194ms3004kbRaspuns gresit!0
204ms3000kbRaspuns gresit!0
Punctaj total11

Ceva nu functioneaza?