Pagini recente » Borderou de evaluare (job #2813969) | Borderou de evaluare (job #900668) | Borderou de evaluare (job #1825623) | Borderou de evaluare (job #972348) | Borderou de evaluare (job #2181460)
Borderou de evaluare (job #2181460)
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/ccHNwvS6.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 | 5352kb | Incorect | 0 |
2 | 4ms | 5416kb | Incorect | 0 |
3 | 4ms | 5492kb | Incorect | 0 |
4 | 48ms | 11940kb | Incorect | 0 |
5 | 12ms | 6844kb | Incorect | 0 |
6 | 20ms | 9088kb | Incorect | 0 |
7 | 24ms | 11112kb | Incorect | 0 |
8 | 36ms | 11420kb | Incorect | 0 |
9 | 40ms | 11704kb | Incorect | 0 |
10 | 44ms | 11896kb | Incorect | 0 |
Punctaj total | 0 |