Pagini recente » Borderou de evaluare (job #1537356) | Borderou de evaluare (job #909814) | Borderou de evaluare (job #1047646) | Borderou de evaluare (job #985405) | Borderou de evaluare (job #2153050)
Borderou de evaluare (job #2153050)
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/ccmYmktV.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 | 796kb | OK! | 10 | 100 |
2 | 0ms | 864kb | OK! | 10 |
3 | 0ms | 752kb | OK! | 10 |
4 | 0ms | 872kb | OK! | 10 |
5 | 0ms | 860kb | OK! | 10 |
6 | 0ms | 876kb | OK! | 10 |
7 | 28ms | 3712kb | OK! | 10 |
8 | 28ms | 3716kb | OK! | 10 |
9 | 28ms | 3712kb | OK! | 10 |
10 | 24ms | 5640kb | OK! | 10 |
Punctaj total | 100 |