Borderou de evaluare (job #2159017)

Utilizator alexradu04Radu Alexandru alexradu04 Data 10 martie 2018 18:08:00
Problema Similar Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(T+1); ^ 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:18:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(T+1); ^ 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:18:17: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(T+1); ^ 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:19:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(P+1); ^ 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:19:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(P+1); ^ 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:19:17: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(P+1); ^ 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:12:21: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable]
Test Timp executie Memorie folosita Mesaj Punctaj/test
1708ms5180kbOK100
Punctaj total100

Ceva nu functioneaza?