Borderou de evaluare (job #2160881)

Utilizator savulescustefanSavulescu Stefan savulescustefan Data 11 martie 2018 14:07:45
Problema Smooth2 Status done
Runda Algoritmiada 2018 Runda PreOJI Compilator cpp | Vezi sursa
Scor 15

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^ 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:13:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^ 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:13:11: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^ 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:11:37: 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:12:39: 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:13:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/cc0tvR2Q.o: In function `main': user.cpp:(.text.startup+0x49): warning: the `gets' function is dangerous and should not be used.
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
✓14ms2276kbOK!00
✓24ms2252kbOK!00
✓34ms2236kbOK!00
✓44ms2208kbOK!00
✗54ms2224kbOK!33
✗64ms2204kbRaspuns gresit!00
✗74ms2300kbOK!22
✗84ms2252kbRaspuns gresit!00
✗98ms2244kbOK!33
✗10304ms2224kbOK!33
✗114ms2308kbOK!44
✗124ms2236kbRaspuns gresit!00
✗13204ms2688kbOK!5
✗144ms2200kbRaspuns gresit!0
✗1564ms2764kbRaspuns gresit!0
✗1672ms2676kbOK!5
✗1764ms2780kbRaspuns gresit!0
✗1888ms2696kbOK!50
✗1964ms2668kbRaspuns gresit!0
✗2064ms2644kbRaspuns gresit!0
Punctaj total15

Ceva nu functioneaza?