Borderou de evaluare (job #2187306)

Utilizator RazvipripPrip Razvi Razviprip Data 26 martie 2018 13:16:24
Problema Calc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 45

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^~~~ In file included from /usr/include/c++/6/cstdio:42:0, from /usr/include/c++/6/ext/string_conversions.h:43, from /usr/include/c++/6/bits/basic_string.h:5417, from /usr/include/c++/6/string:52, from /usr/include/c++/6/bits/locale_classes.h:40, from /usr/include/c++/6/bits/ios_base.h:41, from /usr/include/c++/6/ios:42, from /usr/include/c++/6/ostream:38, from /usr/include/c++/6/iostream:39, from user.cpp:1: /usr/include/stdio.h:638:14: note: declared here extern char *gets (char *__s) __wur __attribute_deprecated__; ^~~~ user.cpp:15:11: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^ In file included from /usr/include/c++/6/cstdio:42:0, from /usr/include/c++/6/ext/string_conversions.h:43, from /usr/include/c++/6/bits/basic_string.h:5417, from /usr/include/c++/6/string:52, from /usr/include/c++/6/bits/locale_classes.h:40, from /usr/include/c++/6/bits/ios_base.h:41, from /usr/include/c++/6/ios:42, from /usr/include/c++/6/ostream:38, from /usr/include/c++/6/iostream:39, from user.cpp:1: /usr/include/stdio.h:638:14: note: declared here extern char *gets (char *__s) __wur __attribute_deprecated__; ^~~~ user.cpp:16:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^~~~ In file included from /usr/include/c++/6/cstdio:42:0, from /usr/include/c++/6/ext/string_conversions.h:43, from /usr/include/c++/6/bits/basic_string.h:5417, from /usr/include/c++/6/string:52, from /usr/include/c++/6/bits/locale_classes.h:40, from /usr/include/c++/6/bits/ios_base.h:41, from /usr/include/c++/6/ios:42, from /usr/include/c++/6/ostream:38, from /usr/include/c++/6/iostream:39, from user.cpp:1: /usr/include/stdio.h:638:14: note: declared here extern char *gets (char *__s) __wur __attribute_deprecated__; ^~~~ user.cpp:16:11: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1324kbOK5
20ms1324kbOK5
30ms1320kbOK5
40ms1320kbOK5
50ms1320kbOK5
60ms1324kbIncorect0
70ms1320kbIncorect0
80ms1320kbIncorect0
90ms1320kbOK5
100ms1324kbIncorect0
110ms1324kbIncorect0
120ms1324kbIncorect0
130ms1320kbOK5
140ms1324kbIncorect0
150ms1320kbOK5
164ms1352kbIncorect0
174ms1352kbIncorect0
184ms1372kbIncorect0
198ms1400kbOK5
2012ms1412kbIncorect0
Punctaj total45

Ceva nu functioneaza?