Pagini recente » Borderou de evaluare (job #2630521) | Borderou de evaluare (job #814632) | Borderou de evaluare (job #1521429) | Borderou de evaluare (job #1152147) | Borderou de evaluare (job #2181467)
Borderou de evaluare (job #2181467)
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/ccVuM2zu.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 | 5356kb | Incorect | 0 |
2 | 4ms | 5436kb | Incorect | 0 |
3 | 4ms | 5568kb | Incorect | 0 |
4 | 48ms | 11928kb | OK | 10 |
5 | 12ms | 6832kb | OK | 10 |
6 | 20ms | 9088kb | Incorect | 0 |
7 | 24ms | 11152kb | Incorect | 0 |
8 | 36ms | 11420kb | Incorect | 0 |
9 | 40ms | 11716kb | Incorect | 0 |
10 | 44ms | 11952kb | Incorect | 0 |
Punctaj total | 20 |