Borderou de evaluare (job #2117859)

Utilizator LucianTLucian Trepteanu LucianT Data 29 ianuarie 2018 19:06:47
Problema Lru Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(str1+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:31:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(str1+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:31:20: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(str1+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:32:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(str2+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:32:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(str2+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:32:20: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(str2+1); ^ In file included from /usr/include/c++/5/cstdio:42:0,
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms5420kbOK10
28ms5568kbOK10
328ms9772kbOK10
440ms9820kbOK10
548ms9852kbOK10
648ms9872kbOK10
7192ms10700kbOK10
8216ms10892kbOK10
9240ms11084kbOK10
100ms5424kbOK10
Punctaj total100

Ceva nu functioneaza?