Borderou de evaluare (job #2155586)

Utilizator mirupetPetcan Miruna mirupet Data 7 martie 2018 22:37:51
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/ccZJehGe.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
28ms816kbOK10
364ms1272kbOK10
4112ms1800kbOK10
5228ms2744kbOK10
6376ms3924kbOK10
7772ms7336kbOK10
8548ms4556kbOK10
9208ms1440kbOK10
10816ms7356kbOK10
Punctaj total100

Ceva nu functioneaza?