Borderou de evaluare (job #2172267)

Utilizator mirupetPetcan Miruna mirupet Data 15 martie 2018 15:52:22
Problema Carry Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 65

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:5: 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:16:5: 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:16:11: 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:15:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &N, &K); ^ user.cpp:16:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S); ^ /tmp/ccCDiLgI.o: In function `main': user.cpp:(.text.startup+0x30): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms3288kbOK5
20ms3292kbIncorect0
30ms3420kbOK5
40ms3420kbOK5
50ms3604kbIncorect0
64ms3776kbIncorect0
74ms6224kbOK5
812ms11200kbOK5
916ms11204kbOK5
108ms13172kbIncorect0
1124ms23576kbIncorect0
1244ms29756kbOK5
1360ms35968kbOK5
1440ms48300kbOK5
1560ms58640kbOK5
1644ms60576kbOK5
1744ms75120kbIncorect0
1860ms77076kbOK5
19140ms81456kbOK5
200ms3332kbIncorect0
Punctaj total65

Ceva nu functioneaza?