Pagini recente » Borderou de evaluare (job #1014435) | Borderou de evaluare (job #2526323) | Borderou de evaluare (job #476864) | Cod sursa (job #1894792) | Borderou de evaluare (job #1014433)
Borderou de evaluare (job #1014433)
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 |
| 1 | 0ms | 308kb | OK! | 10 | 20 |
| 2 | 0ms | 304kb | OK! | 10 |
| 3 | 0ms | 320kb | OK! | 10 | 20 |
| 4 | 0ms | 336kb | OK! | 10 |
| 5 | 4ms | 376kb | OK! | 10 | 20 |
| 6 | 0ms | 336kb | OK! | 10 |
| 7 | 4ms | 376kb | OK! | 10 | 10 |
| 8 | Depăşit | 396kb | Time limit exceeded. | 0 | 0 |
| 9 | Depăşit | 420kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 440kb | Time limit exceeded. | 0 |
| Punctaj total | 70 |