Pagini recente » Borderou de evaluare (job #841714) | Borderou de evaluare (job #3216267) | Borderou de evaluare (job #2053933) | Borderou de evaluare (job #1166844) | Borderou de evaluare (job #2219793)
Borderou de evaluare (job #2219793)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(mat[x][y]);
^~~~
In file included from /usr/include/c++/6/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:47:23: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(mat[x][y]);
^
In file included from /usr/include/c++/6/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:41:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("mxl.in", "r",stdin);
^
user.cpp:42:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mxl.out", "w",stdout);
^
user.cpp:44:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &k);
^
user.cpp:46:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d ", &x, &y);
^
user.cpp:47:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(mat[x][y]);
^
/tmp/ccb4ji9Q.o: In function `main':
user.cpp:(.text.startup+0xab): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 816kb | OK | 10 |
2 | 0ms | 752kb | OK | 10 |
3 | 0ms | 864kb | OK | 10 |
4 | 0ms | 872kb | OK | 10 |
5 | 0ms | 868kb | OK | 10 |
6 | 0ms | 872kb | OK | 10 |
7 | 0ms | 880kb | OK | 10 |
8 | 0ms | 872kb | OK | 10 |
9 | 0ms | 888kb | Incorect | 0 |
10 | 0ms | 1120kb | OK | 10 |
Punctaj total | 90 |