Pagini recente » Borderou de evaluare (job #2010763) | Borderou de evaluare (job #2173159) | Borderou de evaluare (job #1894385) | Borderou de evaluare (job #3133648) | Borderou de evaluare (job #1228917)
Borderou de evaluare (job #1228917)
Raport evaluator
Compilare:
user.cpp: In member function ‘int hotel::distanta()’:
user.cpp:66:21: warning: narrowing conversion of ‘(((int)c.coord::x) + ((int)dx[i]))’ from ‘int’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]
coord next{ c.x + dx[i], c.y + dy[i], c.z + dz[i] };
^
user.cpp:66:34: warning: narrowing conversion of ‘(((int)c.coord::y) + ((int)dy[i]))’ from ‘int’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]
coord next{ c.x + dx[i], c.y + dy[i], c.z + dz[i] };
^
user.cpp:66:47: warning: narrowing conversion of ‘(((int)c.coord::z) + ((int)dz[i]))’ from ‘int’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]
coord next{ c.x + dx[i], c.y + dy[i], c.z + dz[i] };
^
user.cpp: In function ‘int main()’:
user.cpp:118:53: warning: narrowing conversion of ‘(uint8_t)x’ from ‘uint8_t {aka unsigned char}’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]
shorec = coord{ (uint8_t)x, (uint8_t)y, (uint8_t)z };
^
user.cpp:118:53: warning: narrowing conversion of ‘(uint8_t)y’ from ‘uint8_t {aka unsigned char}’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]
user.cpp:118:53: warning: narrowing conversion of ‘(uint8_t)z’ from ‘uint8_t {aka unsigned char}’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]
user.cpp:120:54: warning: narrowing conversion of ‘(uint8_t)x’ from ‘uint8_t {aka unsigned char}’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]
depozit = coord{ (uint8_t)x, (uint8_t)y, (uint8_t)z };
^
user.cpp:120:54: warning: narrowing conversion of ‘(uint8_t)y’ from ‘uint8_t {aka unsigned char}’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]
user.cpp:120:54: warning: narrowing conversion of ‘(uint8_t)z’ from ‘uint8_t {aka unsigned char}’ to ‘int8_t {aka signed char}’ inside { } [-Wnarrowing]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 5536kb | Corect! | 5 |
2 | 120ms | 5536kb | Corect! | 5 |
3 | 8ms | 5536kb | Corect! | 5 |
4 | 4ms | 5536kb | Corect! | 5 |
5 | 4ms | 5536kb | Corect! | 5 |
6 | 8ms | 5536kb | Corect! | 5 |
7 | 16ms | 5536kb | Corect! | 5 |
8 | 32ms | 5536kb | Corect! | 5 |
9 | 36ms | 5536kb | Corect! | 5 |
10 | 8ms | 5536kb | Corect! | 5 |
11 | 84ms | 5536kb | Corect! | 5 |
12 | 40ms | 5536kb | Corect! | 5 |
13 | 16ms | 5536kb | Corect! | 5 |
14 | 44ms | 5536kb | Corect! | 5 |
15 | 76ms | 5536kb | Corect! | 5 |
16 | 104ms | 5536kb | Corect! | 5 |
17 | 124ms | 5536kb | Corect! | 5 |
18 | 116ms | 5536kb | Corect! | 5 |
19 | 136ms | 5536kb | Corect! | 5 |
20 | 124ms | 5536kb | Corect! | 5 |
Punctaj total | 100 |