Borderou de evaluare (job #2160339)

Utilizator alexradu04Radu Alexandru alexradu04 Data 11 martie 2018 12:33:54
Problema Smooth2 Status done
Runda Algoritmiada 2018 Runda PreOJI Compilator cpp | Vezi sursa
Scor 12

Raport evaluator

Compilare: user.cpp: In function ‘int calc_min_max()’: user.cpp:27:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:33:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s+1); ^ In file included from /usr/include/c++/5/cstdio:42:0, from user.cpp:1: /usr/include/stdio.h:638:14: note: declared here extern char *gets (char *__s) __wur __attribute_deprecated__; ^ user.cpp:33:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s+1); ^ In file included from /usr/include/c++/5/cstdio:42:0, from user.cpp:1: /usr/include/stdio.h:638:14: note: declared here extern char *gets (char *__s) __wur __attribute_deprecated__; ^ user.cpp:33:13: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s+1); ^ In file included from /usr/include/c++/5/cstdio:42:0, from user.cpp:1: /usr/include/stdio.h:638:14: note: declared here extern char *gets (char *__s) __wur __attribute_deprecated__; ^ user.cpp:37:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[s[i]]++; ^ user.cpp:39:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(f[maxx]-f[minn]<=1) ^ user.cpp:39:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(f[maxx]-f[minn]<=1) ^ user.cpp:43:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[s[i]]--; ^ user.cpp:44:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[minn]++; ^ user.cpp:30: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:31: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
10ms1188kbOK!00
20ms1184kbOK!00
30ms1196kbOK!00
40ms1244kbRaspuns gresit!00
50ms1188kbOK!33
60ms1172kbRaspuns gresit!00
70ms1184kbOK!22
80ms1144kbRaspuns gresit!00
90ms1188kbOK!33
100ms1216kbRaspuns gresit!00
110ms1180kbOK!44
120ms1164kbRaspuns gresit!00
1316ms1280kbRaspuns gresit!0
140ms1240kbRaspuns gresit!0
1516ms1344kbRaspuns gresit!0
1612ms1236kbRaspuns gresit!0
1716ms1264kbRaspuns gresit!0
1812ms1292kbRaspuns gresit!00
1916ms1340kbRaspuns gresit!0
2016ms1268kbRaspuns gresit!0
Punctaj total12

Ceva nu functioneaza?