Pagini recente » Borderou de evaluare (job #3184311) | Borderou de evaluare (job #507617) | Borderou de evaluare (job #466925) | Borderou de evaluare (job #282925) | Borderou de evaluare (job #2178275)
Borderou de evaluare (job #2178275)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:76: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:76: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:76: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:69: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:70: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:72:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:75: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:76:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cc0j1V96.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 | 1448kb | Incorect | 0 |
2 | 0ms | 1276kb | Incorect | 0 |
3 | 0ms | 1260kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 1260kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 1264kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 1160kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 1184kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 1220kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 1296kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 1224kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |