Pagini recente » Borderou de evaluare (job #688944) | Borderou de evaluare (job #152179) | Borderou de evaluare (job #413405) | Borderou de evaluare (job #2723867) | Borderou de evaluare (job #2534203)
Borderou de evaluare (job #2534203)
Raport evaluator
Compilare:
main.cpp: In function 'bool Compare(Point, Point)':
main.cpp:27:14: warning: narrowing conversion of '(((int)c.Point::x) - ((int)det.Point::x))' from 'int' to 'short int' inside { } [-Wnarrowing]
c = {c.x - det.x , c.y - det.y , c.cost};
~~~~^~~~~~~
main.cpp:27:28: warning: narrowing conversion of '(((int)c.Point::y) - ((int)det.Point::y))' from 'int' to 'short int' inside { } [-Wnarrowing]
c = {c.x - det.x , c.y - det.y , c.cost};
~~~~^~~~~~~
main.cpp:28:14: warning: narrowing conversion of '(((int)b.Point::x) - ((int)det.Point::x))' from 'int' to 'short int' inside { } [-Wnarrowing]
b = {b.x - det.x , b.y - det.y , b.cost};
~~~~^~~~~~~
main.cpp:28:28: warning: narrowing conversion of '(((int)b.Point::y) - ((int)det.Point::y))' from 'int' to 'short int' inside { } [-Wnarrowing]
b = {b.x - det.x , b.y - det.y , b.cost};
~~~~^~~~~~~
main.cpp: In function 'bool Sens(Point, Point, Point)':
main.cpp:35:14: warning: narrowing conversion of '(((int)a.Point::x) - ((int)c.Point::x))' from 'int' to 'short int' inside { } [-Wnarrowing]
a = {a.x - c.x , a.y - c.y , a.cost};
~~~~^~~~~
main.cpp:35:26: warning: narrowing conversion of '(((int)a.Point::y) - ((int)c.Point::y))' from 'int' to 'short int' inside { } [-Wnarrowing]
a = {a.x - c.x , a.y - c.y , a.cost};
~~~~^~~~~
main.cpp:36:14: warning: narrowing conversion of '(((int)b.Point::x) - ((int)c.Point::x))' from 'int' to 'short int' inside { } [-Wnarrowing]
b = {b.x - c.x , b.y - c.y , b.cost};
~~~~^~~~~
main.cpp:36:26: warning: narrowing conversion of '(((int)b.Point::y) - ((int)c.Point::y))' from 'int' to 'short int' inside { } [-Wnarrowing]
b = {b.x - c.x , b.y - c.y , b.cost};
~~~~^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 2ms | 131kb | Incorect | 0 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | Incorect | 0 |
9 | 2ms | 131kb | Incorect | 0 |
10 | 2ms | 131kb | Incorect | 0 |
Punctaj total | 0 |