Pagini recente » Borderou de evaluare (job #2595333) | Borderou de evaluare (job #1676994) | Borderou de evaluare (job #1605243) | Borderou de evaluare (job #3040101) | Borderou de evaluare (job #1218276)
Borderou de evaluare (job #1218276)
Raport evaluator
Compilare:
user.cpp: In function ‘int bfs(int)’:
user.cpp:42:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v[Nod].size(); ++i)
^
user.cpp:43:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(v[v[Nod][i]].size() >= k && Ap[v[Nod][i]] == 0){
^
user.cpp: In function ‘void Fill2(int, int)’:
user.cpp:55:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(inside(x + Dx[i], y + Dy[i]) == 1)
^
user.cpp: In function ‘int main()’:
user.cpp:63:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zone2.in", "r", stdin);
^
user.cpp:64:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zone2.out", "w", stdout);
^
user.cpp:65:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &n, &m, &k);
^
user.cpp:67: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:67: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/cctw4y0B.o: In function `main':
user.cpp:(.text.startup+0x95): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 824kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 424kb | Incorect | 0 |
3 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 436kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 480kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 476kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 476kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 4ms | 644kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 8ms | 832kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 8ms | 832kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |