Borderou de evaluare (job #2155580)

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

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/ccWYG0q7.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
10ms872kbOK10
28ms752kbOK10
364ms1280kbOK10
4112ms1804kbOK10
5224ms2744kbOK10
6372ms3924kbOK10
7772ms7336kbOK10
8548ms4560kbOK10
9208ms1436kbOK10
10808ms7356kbOK10
Punctaj total100

Ceva nu functioneaza?