Borderou de evaluare (job #2220661)

Utilizator Cyg_PEduardPetcu Eduard Cyg_PEduard Data 12 iulie 2018 12:31:44
Problema Cifra Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:8: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^~~~ In file included from /usr/include/c++/6/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:36:14: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^ In file included from /usr/include/c++/6/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:30:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&t); ^ user.cpp:36:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccqnb2gn.o: In function `main': user.cpp:(.text.startup+0x11a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit804kbTime limit exceeded.0
2Depăşit804kbTime limit exceeded.0
3Depăşit800kbTime limit exceeded.0
4Depăşit808kbTime limit exceeded.0
5Depăşit876kbTime limit exceeded.0
6Depăşit856kbTime limit exceeded.0
7Depăşit880kbTime limit exceeded.0
8Depăşit864kbTime limit exceeded.0
9Depăşit752kbTime limit exceeded.0
10Depăşit876kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?