Borderou de evaluare (job #2155584)

Utilizator mirupetPetcan Miruna mirupet Data 7 martie 2018 22:37:10
Problema Zeap Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:164:15: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] while(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:164:15: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] while(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:164:21: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] while(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__; ^ /tmp/ccr2lvgM.o: In function `main': user.cpp:(.text.startup+0x59): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms876kbOK10
24ms880kbIncorect0
340ms1360kbIncorect0
472ms1820kbIncorect0
5116ms2744kbIncorect0
6196ms3932kbIncorect0
7284ms7340kbIncorect0
8256ms4560kbIncorect0
9164ms1436kbIncorect0
10348ms7352kbIncorect0
Punctaj total10

Ceva nu functioneaza?