Borderou de evaluare (job #2180538)

Utilizator savulescustefanSavulescu Stefan savulescustefan Data 20 martie 2018 22:21:42
Problema Mesaje Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14: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:14: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:14: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:35:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s2); ^ 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:35:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s2); ^ 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:35:12: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s2); ^ 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:82:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
Test Timp executie Memorie folosita Mesaj Punctaj/test
184ms3348kbCorect10
24ms2592kbCorect10
34ms2656kbCorect10
44ms2668kbCorect10
54ms2660kbCorect10
64ms2600kbCorect10
712ms2556kbCorect10
8Depăşit5104kbTime limit exceeded.0
916ms2792kbCorect10
1028ms2724kbCorect10
Punctaj total90

Ceva nu functioneaza?