Pagini recente » Borderou de evaluare (job #1341150) | Borderou de evaluare (job #475480) | Borderou de evaluare (job #2702079) | Borderou de evaluare (job #1134513) | Borderou de evaluare (job #1886449)
Borderou de evaluare (job #1886449)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.in", "r", stdin);
^
user.cpp:49:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.out", "w", stdout);
^
user.cpp:51:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(text);
^
user.cpp:52:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(cuv, MAXN+1, stdin);
^
user.cpp:55:34: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(cuv, MAXN+1, stdin);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/c++/4.8/ext/string_conversions.h:43,
from /usr/include/c++/4.8/bits/basic_string.h:2815,
from /usr/include/c++/4.8/string:52,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:52:30:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:55:34:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
/tmp/ccj5CvWQ.o: In function `main':
user.cpp:(.text.startup+0x53): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 392kb | Incorect | 0 | 0 |
2 | 0ms | 388kb | Incorect | 0 |
3 | 0ms | 436kb | Incorect | 0 |
4 | 0ms | 576kb | Incorect | 0 |
5 | 8ms | 1000kb | Incorect | 0 |
6 | 24ms | 2108kb | Incorect | 0 |
7 | 60ms | 6596kb | Incorect | 0 |
8 | 88ms | 11348kb | Incorect | 0 |
9 | 84ms | 11348kb | Incorect | 0 |
10 | 84ms | 11348kb | Incorect | 0 |
Punctaj total | 0 |