Pagini recente » Borderou de evaluare (job #2417461) | Borderou de evaluare (job #1755955) | Borderou de evaluare (job #84933) | Borderou de evaluare (job #106706) | Borderou de evaluare (job #2178366)
Borderou de evaluare (job #2178366)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:87: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:87: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:87: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:80: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:81: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:83:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:86:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %lld\n",&l,&k);
^
user.cpp:87:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccfkwphx.o: In function `main':
user.cpp:(.text.startup+0x87): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1352kb | OK | 10 |
2 | 0ms | 1420kb | OK | 10 |
3 | 0ms | 1284kb | OK | 10 |
4 | 80ms | 1292kb | OK | 10 |
5 | 152ms | 1236kb | OK | 10 |
6 | 176ms | 1308kb | OK | 10 |
7 | 180ms | 1228kb | OK | 10 |
8 | 192ms | 1324kb | OK | 10 |
9 | 204ms | 1336kb | OK | 10 |
10 | 204ms | 1212kb | OK | 10 |
Punctaj total | 100 |