Borderou de evaluare (job #2173641)

Utilizator andru47Stefanescu Andru andru47 Data 15 martie 2018 23:17:47
Problema Lant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:71:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s + 1); ^ In file included from /usr/include/c++/5/cstdio:42:0, from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46, from user.cpp:1: /usr/include/stdio.h:638:14: note: declared here extern char *gets (char *__s) __wur __attribute_deprecated__; ^ user.cpp:71:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s + 1); ^ In file included from /usr/include/c++/5/cstdio:42:0, from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46, from user.cpp:1: /usr/include/stdio.h:638:14: note: declared here extern char *gets (char *__s) __wur __attribute_deprecated__; ^ user.cpp:71:15: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s + 1); ^ In file included from /usr/include/c++/5/cstdio:42:0, from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46, from user.cpp:1: /usr/include/stdio.h:638:14: note: declared here extern char *gets (char *__s) __wur __attribute_deprecated__; ^ user.cpp:89:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s + 1); ^ In file included from /usr/include/c++/5/cstdio:42:0, from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46, from user.cpp:1: /usr/include/stdio.h:638:14: note: declared here extern char *gets (char *__s) __wur __attribute_deprecated__; ^ user.cpp:89:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s + 1); ^ In file included from /usr/include/c++/5/cstdio:42:0, from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:46, from user.cpp:1: /usr/include/stdio.h:638:14: note: declared here extern char *gets (char *__s) __wur __attribute_deprecated__; ^ user.cpp:89:19: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s + 1); ^ In file included from /usr/include/c++/5/cstdio:42:0,
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms2996kbOK10
24ms2916kbIncorect0
34ms2812kbIncorect0
44ms2896kbOK10
54ms2972kbOK10
64ms3012kbIncorect0
74ms2760kbOK10
88ms2996kbOK10
94ms2892kbOK10
108ms2972kbOK10
Punctaj total70

Ceva nu functioneaza?