Borderou de evaluare (job #2179419)

Utilizator bogdi1bogdan bancuta bogdi1 Data 20 martie 2018 10:56:37
Problema Incantatii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^ 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:17:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^ 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:17:15: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^ 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:20:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[s[i]]=1; ^ user.cpp:32:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^ 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:32:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^ 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:32:15: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^ In file included from /usr/include/c++/5/cstdio:42:0, from user.cpp:1: /usr/include/stdio.h:638:14: note: declared here
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1412kbIncorect0
20ms1460kbIncorect0
30ms1404kbIncorect0
40ms1436kbOK5
50ms1428kbOK5
64ms1428kbIncorect0
7Depăşit5148kbTime limit exceeded.0
8Depăşit5212kbTime limit exceeded.0
9556ms2332kbIncorect0
1092ms1644kbIncorect0
11340ms2000kbIncorect0
12Depăşit5104kbTime limit exceeded.0
13112ms1620kbIncorect0
14Depăşit5132kbTime limit exceeded.0
15Depăşit5040kbTime limit exceeded.0
16Depăşit2712kbTime limit exceeded.0
17428ms2200kbIncorect0
18368ms2064kbIncorect0
19Depăşit3036kbTime limit exceeded.0
20Depăşit5068kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?