Borderou de evaluare (job #2160180)

Utilizator andreiutu111Noroc Andrei Mihail andreiutu111 Data 11 martie 2018 11:58:43
Problema Smooth2 Status done
Runda Algoritmiada 2018 Runda PreOJI Compilator cpp | Vezi sursa
Scor 11

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100001]’ [-Wformat=] scanf("%s",&s); ^ user.cpp:17:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(s);++i){ ^ user.cpp:19:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(e==-1)lit[++l]=s[i],ap[l]=1; ^ user.cpp:19:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(e==-1)lit[++l]=s[i],ap[l]=1; ^ user.cpp:13: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:14: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); ^ user.cpp:15:19: 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
14ms2820kbOK!00
24ms2664kbOK!00
34ms2800kbOK!00
44ms2884kbRaspuns gresit!00
54ms2804kbOK!33
64ms2956kbOK!22
74ms2944kbRaspuns gresit!00
84ms2940kbRaspuns gresit!00
94ms2956kbOK!33
104ms2804kbOK!33
114ms2804kbRaspuns gresit!00
124ms2688kbRaspuns gresit!00
13Depăşit2772kbTime limit exceeded.0
144ms2972kbRaspuns gresit!0
15Depăşit2664kbTime limit exceeded.0
16Depăşit2624kbTime limit exceeded.0
17Depăşit2396kbTime limit exceeded.0
18Depăşit2548kbTime limit exceeded.00
19Depăşit2548kbTime limit exceeded.0
20Depăşit2568kbTime limit exceeded.0
Punctaj total11

Ceva nu functioneaza?