Pagini recente » Borderou de evaluare (job #157852) | Borderou de evaluare (job #130739) | Borderou de evaluare (job #407527) | Borderou de evaluare (job #2067382) | Borderou de evaluare (job #2178291)
Borderou de evaluare (job #2178291)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:80:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
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:80:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
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:80:15: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
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:73:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kss.in","r",stdin);
^
user.cpp:74:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kss.out","w",stdout);
^
user.cpp:76:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:79:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %lld\n",&n,&k);
^
user.cpp:80:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccxbv3aR.o: In function `main':
user.cpp:(.text.startup+0x8f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1376kb | Incorect | 0 |
2 | 0ms | 1424kb | Incorect | 0 |
3 | 4ms | 1288kb | Incorect | 0 |
4 | 144ms | 1284kb | Incorect | 0 |
5 | 232ms | 1364kb | Incorect | 0 |
6 | 276ms | 1284kb | Incorect | 0 |
7 | 280ms | 1276kb | Incorect | 0 |
8 | 300ms | 1308kb | Incorect | 0 |
9 | Depăşit | 1368kb | Time limit exceeded. | 0 |
10 | Depăşit | 1268kb | Time limit exceeded. | 0 |
Punctaj total | 0 |