Pagini recente » Borderou de evaluare (job #1752083) | Borderou de evaluare (job #1893744)
Borderou de evaluare (job #1893744)
Raport evaluator
Compilare:
user.cpp: In function ‘void SpecBFS(int, int)’:
user.cpp:103:55: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(a[x2][y2] != '#' && d[x2][y2][ a[i][j] ][ a[i][j] ] == oo)
^
user.cpp:103:66: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(a[x2][y2] != '#' && d[x2][y2][ a[i][j] ][ a[i][j] ] == oo)
^
user.cpp:106:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[x2][y2][ a[i][j] ][ a[i][j] ] = d[x][y][ a[i][j] ][ a[i][j] ] + 1;
^
user.cpp:106:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[x2][y2][ a[i][j] ][ a[i][j] ] = d[x][y][ a[i][j] ][ a[i][j] ] + 1;
^
user.cpp:106:68: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[x2][y2][ a[i][j] ][ a[i][j] ] = d[x][y][ a[i][j] ][ a[i][j] ] + 1;
^
user.cpp:106:79: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[x2][y2][ a[i][j] ][ a[i][j] ] = d[x][y][ a[i][j] ][ a[i][j] ] + 1;
^
user.cpp: In function ‘void Solve_2()’:
user.cpp:116:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(i = 0; i < K; ++i) tab[cuv[i]] = i+1;
^
user.cpp:119:69: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(a[i][j] >= 'A' && a[i][j] <= 'Z') a[i][j] = tab[ a[i][j] ];
^
user.cpp:130:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[i][j][a[i][j]][a[i][j]] = 0;
^
user.cpp:130:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[i][j][a[i][j]][a[i][j]] = 0;
^
user.cpp:114:15: warning: unused variable ‘t’ [-Wunused-variable]
int i,j,k,t,ii,jj,res=oo;
^
user.cpp: In function ‘void Read()’:
user.cpp:30:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d %d\n",&p,&N,&M);
^
user.cpp:31:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%s",cuv);
^
user.cpp:35:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%s",temp);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 512kb | OK | 5 |
2 | 0ms | 508kb | OK | 5 |
3 | 0ms | 512kb | OK | 5 |
4 | 0ms | 504kb | OK | 5 |
5 | 0ms | 652kb | OK | 5 |
6 | 4ms | 2660kb | OK | 5 |
7 | 4ms | 3248kb | OK | 5 |
8 | 4ms | 3220kb | OK | 5 |
9 | 0ms | 692kb | OK | 5 |
10 | 8ms | 2816kb | OK | 5 |
11 | 0ms | 724kb | OK | 5 |
12 | 8ms | 3068kb | OK | 5 |
13 | 0ms | 1024kb | Incorect | 0 |
14 | 4ms | 1184kb | OK | 5 |
15 | 0ms | 1244kb | OK | 5 |
16 | 24ms | 2920kb | OK | 5 |
17 | 32ms | 3392kb | OK | 5 |
18 | 36ms | 3200kb | OK | 5 |
19 | 40ms | 3604kb | OK | 5 |
20 | 36ms | 3560kb | OK | 5 |
Punctaj total | 95 |