Borderou de evaluare (job #2185373)

Utilizator We_love_alexniuclaeCNILC.Delia.Theo.Stefan We_love_alexniuclae Data 24 martie 2018 15:00:54
Problema Guinness Status done
Runda Agm 2018 Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^~~~ In file included from /usr/include/c++/6/cstdio:42:0, from /usr/include/x86_64-linux-gnu/c++/6/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:15:15: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^ In file included from /usr/include/c++/6/cstdio:42:0, from /usr/include/x86_64-linux-gnu/c++/6/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:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("guinness.in","r",stdin); ^ user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("guinness.out","w",stdout); ^ user.cpp:12:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &t); ^ user.cpp:15:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccK7XiDc.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
1672msDepăşitMemory limit exceeded.00
20ms1332kbOK10
3816msDepăşitMemory limit exceeded.0
4820msDepăşitMemory limit exceeded.0
5816msDepăşitMemory limit exceeded.0
6880msDepăşitMemory limit exceeded.0
7Depăşit18796kbTime limit exceeded.0
8812msDepăşitMemory limit exceeded.0
9816msDepăşitMemory limit exceeded.0
1056ms1804kbOK10
Punctaj total0

Ceva nu functioneaza?