Borderou de evaluare (job #2144496)

Utilizator savulescustefanSavulescu Stefan savulescustefan Data 26 februarie 2018 19:32:19
Problema Interesant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 72

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s[i]); ^ 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:14:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s[i]); ^ 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:14:18: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s[i]); ^ 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:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("interesant.in","r",stdin); ^ user.cpp:10:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("interesant.out","w",stdout); ^ user.cpp:11:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d\n", &p, &n); ^ user.cpp:14:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s[i]); ^ /tmp/ccfv6bPI.o: In function `main': user.cpp:(.text.startup+0x81): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms1620kbOK.520
24ms1796kbOK.5
30ms960kbOK.5
40ms1480kbOK.5
50ms904kbOK.33
6Depăşit1628kbTime limit exceeded.00
70ms876kbOK.33
828ms1340kbOK.33
912ms1800kbOK.44
10Depăşit1788kbTime limit exceeded.00
1112ms1688kbOK.44
1256ms1740kbOK.44
1364ms1768kbOK.44
14Depăşit1800kbTime limit exceeded.00
1536ms1792kbOK.55
16152ms1780kbOK.55
1792ms1784kbOK.55
18Depăşit1788kbTime limit exceeded.00
19Depăşit1792kbTime limit exceeded.00
2056ms1804kbOK.66
2156ms1804kbOK.66
22Depăşit1792kbTime limit exceeded.00
Punctaj total72

Ceva nu functioneaza?