Pagini recente » Borderou de evaluare (job #456693) | Borderou de evaluare (job #1128794) | Borderou de evaluare (job #2925035) | Borderou de evaluare (job #2326864) | Borderou de evaluare (job #2181528)
Borderou de evaluare (job #2181528)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(aux);
^
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:15:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(aux);
^
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:15:13: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(aux);
^
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:11:11: warning: unused variable ‘fl’ [-Wunused-variable]
int n,fl,i,c,r,j,a,b;
^
user.cpp:13: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:14: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:15:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(aux);
^
/tmp/ccezAam2.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 | 4ms | 5308kb | Incorect | 0 |
2 | 4ms | 5444kb | Incorect | 0 |
3 | 4ms | 5516kb | Incorect | 0 |
4 | 48ms | 11984kb | OK | 10 |
5 | 12ms | 6828kb | Incorect | 0 |
6 | 20ms | 9088kb | Incorect | 0 |
7 | 24ms | 11128kb | Incorect | 0 |
8 | 36ms | 11424kb | Incorect | 0 |
9 | 40ms | 11756kb | Incorect | 0 |
10 | 44ms | 11908kb | Incorect | 0 |
Punctaj total | 10 |