Pagini recente » Borderou de evaluare (job #319047) | Borderou de evaluare (job #2229024) | Borderou de evaluare (job #2372657) | Borderou de evaluare (job #2578451) | Borderou de evaluare (job #2189490)
Borderou de evaluare (job #2189490)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(sir1+1);
^~~~
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:14:16: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(sir1+1);
^
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:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pscpld.in","r",stdin);
^
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pscpld.out","w",stdout);
^
user.cpp:14:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir1+1);
^
/tmp/ccC6ttEP.o: In function `main':
user.cpp:(.text.startup+0x49): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 2732kb | OK | 10 |
2 | 0ms | 2820kb | OK | 10 |
3 | 0ms | 2904kb | OK | 10 |
4 | 40ms | 11332kb | OK | 10 |
5 | 12ms | 6000kb | OK | 10 |
6 | 16ms | 6192kb | OK | 10 |
7 | 20ms | 8332kb | OK | 10 |
8 | 28ms | 10624kb | OK | 10 |
9 | 36ms | 11044kb | OK | 10 |
10 | 40ms | 11328kb | OK | 10 |
Punctaj total | 100 |