Pagini recente » Borderou de evaluare (job #2153742) | Borderou de evaluare (job #1542600) | Borderou de evaluare (job #2078413) | Borderou de evaluare (job #2143248) | Borderou de evaluare (job #2110336)
Borderou de evaluare (job #2110336)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!in(x + dx[C[i]],y + dy[C[i]])){
^
user.cpp:26:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!in(x + dx[C[i]],y + dy[C[i]])){
^
user.cpp:29:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x += dx[C[i]];
^
user.cpp:30:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
y += dy[C[i]];
^
user.cpp:32:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
len = min(len,D[x - dx[C[i]]][y - dy[C[i]]] - D[x][y]);
^
user.cpp:32:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
len = min(len,D[x - dx[C[i]]][y - dy[C[i]]] - D[x][y]);
^
user.cpp:34:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
D[x][y] = D[x - dx[C[i]]][y - dy[C[i]]] + 1;
^
user.cpp:34:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
D[x][y] = D[x - dx[C[i]]][y - dy[C[i]]] + 1;
^
user.cpp:22:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d %d\n",&N,&M,&T);
^
user.cpp:23:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(C + 1,1000005,f);
^
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* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:23:27:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | OK | 10 |
2 | 0ms | 312kb | OK | 10 |
3 | 0ms | 484kb | OK | 10 |
4 | 0ms | 480kb | OK | 10 |
5 | 0ms | 424kb | OK | 10 |
6 | 20ms | 3248kb | OK | 10 |
7 | 24ms | 4632kb | OK | 10 |
8 | 28ms | 5164kb | OK | 10 |
9 | 28ms | 5192kb | OK | 10 |
10 | 0ms | 304kb | OK | 10 |
Punctaj total | 100 |