Borderou de evaluare (job #1014433)

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

Raport evaluator

Compilare: user.cpp: In function ‘void BFS()’: user.cpp:49:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] vx = now.x + dx[i]; ^ user.cpp:50:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] vy = now.y + dy[i]; ^ user.cpp:51:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] vz = now.z + dz[i]; ^ user.cpp:56:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (Best[vx][vy][vz] > Best[now.x][now.y][now.z] + 1){ ^ user.cpp:56:53: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (Best[vx][vy][vz] > Best[now.x][now.y][now.z] + 1){ ^ user.cpp:56:60: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (Best[vx][vy][vz] > Best[now.x][now.y][now.z] + 1){ ^ user.cpp:57:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] Best[vx][vy][vz] = Best[now.x][now.y][now.z] + 1; ^ user.cpp:57:53: warning: array subscript has type ‘char’ [-Wchar-subscripts] Best[vx][vy][vz] = Best[now.x][now.y][now.z] + 1; ^ user.cpp:57:60: warning: array subscript has type ‘char’ [-Wchar-subscripts] Best[vx][vy][vz] = Best[now.x][now.y][now.z] + 1; ^ user.cpp:59:43: warning: narrowing conversion of ‘vx’ from ‘short int’ to ‘char’ inside { } [-Wnarrowing] Q.push (triple {vx, vy, vz}); ^ user.cpp:59:43: warning: narrowing conversion of ‘vy’ from ‘short int’ to ‘char’ inside { } [-Wnarrowing] user.cpp:59:43: warning: narrowing conversion of ‘vz’ from ‘short int’ to ‘char’ inside { } [-Wnarrowing] user.cpp:39:10: warning: unused variable ‘p’ [-Wunused-variable] char p = 1, u = 1; ^ user.cpp:39:17: warning: unused variable ‘u’ [-Wunused-variable] char p = 1, u = 1; ^ user.cpp: In function ‘int main()’: user.cpp:72:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=] scanf ("%d %d", &N, &M); ^ user.cpp:72:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] user.cpp:75: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:75:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] user.cpp:75:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=] user.cpp:76:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms308kbOK!1020
20ms304kbOK!10
30ms320kbOK!1020
40ms336kbOK!10
54ms376kbOK!1020
60ms336kbOK!10
74ms376kbOK!1010
8Depăşit396kbTime limit exceeded.00
9Depăşit420kbTime limit exceeded.0
10Depăşit440kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?