Pagini recente » Borderou de evaluare (job #82261) | Borderou de evaluare (job #1930705) | Borderou de evaluare (job #563379) | Borderou de evaluare (job #1992721) | Borderou de evaluare (job #2153041)
Borderou de evaluare (job #2153041)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(sir+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:16:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(sir+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:16:15: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(sir+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:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paranteze2.in","r",stdin);
^
user.cpp:14:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paranteze2.out","w",stdout);
^
user.cpp:16:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir+1);
^
/tmp/cco26XGP.o: In function `main':
user.cpp:(.text.startup+0x54): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 872kb | Incorect! | 0 | 0 |
2 | 0ms | 752kb | Incorect! | 0 |
3 | 0ms | 876kb | Incorect! | 0 |
4 | 0ms | 752kb | Incorect! | 0 |
5 | 0ms | 876kb | Incorect! | 0 |
6 | 0ms | 804kb | Incorect! | 0 |
7 | 28ms | 3712kb | Incorect! | 0 |
8 | 28ms | 3716kb | Incorect! | 0 |
9 | 28ms | 3720kb | Incorect! | 0 |
10 | 24ms | 5640kb | Incorect! | 0 |
Punctaj total | 0 |