Pagini recente » Borderou de evaluare (job #79174) | Borderou de evaluare (job #3147945) | Borderou de evaluare (job #772394) | Borderou de evaluare (job #936707) | Borderou de evaluare (job #2187758)
Borderou de evaluare (job #2187758)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(v);
^~~~
In file included from /usr/include/c++/6/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:11:11: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(v);
^
In file included from /usr/include/c++/6/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:9:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.in","r",stdin);
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.out","w",stdout);
^
user.cpp:11:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(v);
^
user.cpp:16:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&d);
^
/tmp/ccP0RBWr.o: In function `main':
user.cpp:(.text.startup+0x59): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 872kb | OK | 10 |
2 | 0ms | 752kb | Incorect | 0 |
3 | 0ms | 860kb | Incorect | 0 |
4 | 0ms | 876kb | Incorect | 0 |
5 | 8ms | 820kb | Incorect | 0 |
6 | 24ms | 1144kb | Incorect | 0 |
7 | 56ms | 1944kb | Incorect | 0 |
8 | 144ms | 4464kb | Incorect | 0 |
9 | 200ms | 5056kb | Incorect | 0 |
10 | 224ms | 5532kb | Incorect | 0 |
Punctaj total | 10 |