Borderou de evaluare (job #2127471)

Utilizator LucianTLucian Trepteanu LucianT Data 10 februarie 2018 18:01:34
Problema Mesaj2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(str+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:19:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(str+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:19:15: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(str+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:39:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(word+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:39:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(word+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:39:20: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(word+1); ^ In file included from /usr/include/c++/5/cstdio:42:0,
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1352kbOK10
20ms1376kbOK10
30ms1476kbOK10
40ms1628kbOK10
512ms1672kbOK10
624ms1728kbOK10
7Depăşit1824kbTime limit exceeded.0
848ms1820kbOK10
932ms1820kbOK10
1040ms1824kbOK10
Punctaj total90

Ceva nu functioneaza?