Pagini recente » Borderou de evaluare (job #398861) | Borderou de evaluare (job #2170607) | Borderou de evaluare (job #3237797) | Borderou de evaluare (job #309567) | Borderou de evaluare (job #2139350)
Borderou de evaluare (job #2139350)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s+1);
^
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:13:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s+1);
^
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:13:13: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s+1);
^
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:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("stiva.in","r",stdin);
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("stiva.out","w",stdout);
^
user.cpp:13:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccFrVekY.o: In function `main':
user.cpp:(.text.startup+0x40): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 812kb | OK | 10 |
2 | 0ms | 860kb | OK | 10 |
3 | 0ms | 948kb | OK | 10 |
4 | 0ms | 856kb | OK | 10 |
5 | 0ms | 1068kb | OK | 10 |
6 | 8ms | 1244kb | OK | 10 |
7 | 16ms | 1364kb | OK | 10 |
8 | 32ms | 1544kb | OK | 10 |
9 | 60ms | 1724kb | OK | 10 |
10 | 60ms | 1732kb | OK | 10 |
Punctaj total | 100 |