Pagini recente » Borderou de evaluare (job #2529645) | Borderou de evaluare (job #2686360) | Borderou de evaluare (job #837502) | Borderou de evaluare (job #799408) | Borderou de evaluare (job #2220660)
Borderou de evaluare (job #2220660)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^~~~
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:29:15: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
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:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifra.in","r",stdin);
^
user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifra.out","w",stdout);
^
user.cpp:26:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:29:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccOHql2h.o: In function `main':
user.cpp:(.text.startup+0x118): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 936kb | OK! | 10 |
2 | 0ms | 864kb | OK! | 10 |
3 | 0ms | 756kb | OK! | 10 |
4 | 0ms | 800kb | OK! | 10 |
5 | 0ms | 932kb | OK! | 10 |
6 | 0ms | 800kb | OK! | 10 |
7 | 0ms | 792kb | OK! | 10 |
8 | 4ms | 816kb | OK! | 10 |
9 | 8ms | 756kb | OK! | 10 |
10 | 20ms | 868kb | OK! | 10 |
Punctaj total | 100 |