Pagini recente » Borderou de evaluare (job #1590009) | Borderou de evaluare (job #1914085) | Borderou de evaluare (job #576710) | Borderou de evaluare (job #1167438) | Borderou de evaluare (job #1947350)
Borderou de evaluare (job #1947350)
Raport evaluator
Compilare:
user.cpp: In function ‘bool bfs(int)’:
user.cpp:25:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
viz[stx][sty] = 1;
^
user.cpp:25:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
viz[stx][sty] = 1;
^
user.cpp: In function ‘int main()’:
user.cpp:51:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("barbar.in", "r", stdin);
^
user.cpp:52:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("barbar.out", "w", stdout);
^
user.cpp:55:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:57:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i] + 1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:57:23:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccBPWVPn.o: In function `main':
user.cpp:(.text.startup+0x85): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 5236kb | Ok! | 10 |
2 | 8ms | 5232kb | Ok! | 10 |
3 | 8ms | 5236kb | Ok! | 10 |
4 | 8ms | 5248kb | Ok! | 10 |
5 | 8ms | 5332kb | Ok! | 10 |
6 | 8ms | 5336kb | Ok! | 10 |
7 | 12ms | 5536kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 52ms | 5852kb | Wrong answer! | 0 |
9 | 92ms | 7008kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 8ms | 5368kb | Ok! | 10 |
Punctaj total | 70 |