Pagini recente » Borderou de evaluare (job #1056181) | Borderou de evaluare (job #2327331) | Borderou de evaluare (job #2694485) | Borderou de evaluare (job #490316) | Borderou de evaluare (job #1014431)
Borderou de evaluare (job #1014431)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS()’:
user.cpp:49:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
now = Q[p ++];
^
user.cpp:52:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
vx = now.x + dx[i];
^
user.cpp:53:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
vy = now.y + dy[i];
^
user.cpp:54:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
vz = now.z + dz[i];
^
user.cpp:59:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (Best[vx][vy][vz] > Best[now.x][now.y][now.z] + 1){
^
user.cpp:59:53: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (Best[vx][vy][vz] > Best[now.x][now.y][now.z] + 1){
^
user.cpp:59:60: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (Best[vx][vy][vz] > Best[now.x][now.y][now.z] + 1){
^
user.cpp:60:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Best[vx][vy][vz] = Best[now.x][now.y][now.z] + 1;
^
user.cpp:60:53: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Best[vx][vy][vz] = Best[now.x][now.y][now.z] + 1;
^
user.cpp:60:60: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Best[vx][vy][vz] = Best[now.x][now.y][now.z] + 1;
^
user.cpp:63:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Q[++ u] = triple {vx, vy, vz};
^
user.cpp:63:45: warning: narrowing conversion of ‘vx’ from ‘short int’ to ‘char’ inside { } [-Wnarrowing]
Q[++ u] = triple {vx, vy, vz};
^
user.cpp:63:45: warning: narrowing conversion of ‘vy’ from ‘short int’ to ‘char’ inside { } [-Wnarrowing]
user.cpp:63:45: warning: narrowing conversion of ‘vz’ from ‘short int’ to ‘char’ inside { } [-Wnarrowing]
user.cpp: In function ‘int main()’:
user.cpp:75:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf ("%d %d", &N, &M);
^
user.cpp:75:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
user.cpp:78:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf ("%d %d %d", &a, &b, &c);
^
user.cpp:78:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
user.cpp:78:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=]
user.cpp:79:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 284kb | OK! | 10 | 20 |
2 | 0ms | 280kb | OK! | 10 |
3 | Depăşit | 288kb | Time limit exceeded. | 0 | 0 |
4 | Depăşit | 300kb | Time limit exceeded. | 0 |
5 | Depăşit | 304kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 300kb | Time limit exceeded. | 0 |
7 | Depăşit | 304kb | Time limit exceeded. | 0 | 0 |
8 | Depăşit | 312kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 312kb | Time limit exceeded. | 0 |
10 | Depăşit | 316kb | Time limit exceeded. | 0 |
Punctaj total | 20 |