Borderou de evaluare (job #1014431)

Utilizator Stefex09Stefan Teodorescu Stefex09 Data 22 octombrie 2013 18:25:16
Problema Alge Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

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
10ms284kbOK!1020
20ms280kbOK!10
3Depăşit288kbTime limit exceeded.00
4Depăşit300kbTime limit exceeded.0
5Depăşit304kbTime limit exceeded.00
6Depăşit300kbTime limit exceeded.0
7Depăşit304kbTime limit exceeded.00
8Depăşit312kbTime limit exceeded.00
9Depăşit312kbTime limit exceeded.0
10Depăşit316kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?