Borderou de evaluare (job #2181460)

Utilizator NToniBoSSNicolae Tonitza NToniBoSS Data 21 martie 2018 18:05:10
Problema PScPld Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(aux); ^ 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:15:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(aux); ^ 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:15:13: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(aux); ^ 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:11:11: warning: unused variable ‘fl’ [-Wunused-variable] int n,fl,i,c,r,j,a,b; ^ user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pscpld.in","r",stdin); ^ user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pscpld.out","w",stdout); ^ user.cpp:15:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(aux); ^ /tmp/ccHNwvS6.o: In function `main': user.cpp:(.text.startup+0x49): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms5352kbIncorect0
24ms5416kbIncorect0
34ms5492kbIncorect0
448ms11940kbIncorect0
512ms6844kbIncorect0
620ms9088kbIncorect0
724ms11112kbIncorect0
836ms11420kbIncorect0
940ms11704kbIncorect0
1044ms11896kbIncorect0
Punctaj total0

Ceva nu functioneaza?