Pagini recente » Borderou de evaluare (job #265805) | Borderou de evaluare (job #2411134) | Borderou de evaluare (job #1604015) | Borderou de evaluare (job #748679) | Borderou de evaluare (job #2447015)
Borderou de evaluare (job #2447015)
Raport evaluator
Compilare:
main.cpp: In function 'Dreapta dreapta(Punct, Punct)':
main.cpp:30:24: warning: narrowing conversion of '(p2.Punct::y - p1.Punct::y)' from 'long long int' to 'long double' inside { } [-Wnarrowing]
Dreapta d1 = {p2.y - p1.y, p1.x - p2.x, p1.y * p2.x - p1.x * p2.y};
~~~~~^~~~~~
main.cpp:30:37: warning: narrowing conversion of '(p1.Punct::x - p2.Punct::x)' from 'long long int' to 'long double' inside { } [-Wnarrowing]
Dreapta d1 = {p2.y - p1.y, p1.x - p2.x, p1.y * p2.x - p1.x * p2.y};
~~~~~^~~~~~
main.cpp:30:57: warning: narrowing conversion of '((p1.Punct::y * p2.Punct::x) - (p1.Punct::x * p2.Punct::y))' from 'long long int' to 'long double' inside { } [-Wnarrowing]
Dreapta d1 = {p2.y - p1.y, p1.x - p2.x, p1.y * p2.x - p1.x * p2.y};
~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp: In function 'void Solve()':
main.cpp:115:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (long long j = 0; j < hull.size(); ++j)
~~^~~~~~~~~~~~~
main.cpp:133:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (long long i = 1; i < hull.size(); ++i)
~~^~~~~~~~~~~~~
main.cpp:159:29: warning: 'ind3' may be used uninitialized in this function [-Wmaybe-uninitialized]
aux = distd(hull[nxt(ind3, hull.size() - 1)], d2);
~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:150:29: warning: 'ind2' may be used uninitialized in this function [-Wmaybe-uninitialized]
aux = distd(hull[nxt(ind2, hull.size() - 1)], d2);
~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:141:41: warning: 'ind1' may be used uninitialized in this function [-Wmaybe-uninitialized]
double aux = fabs(distd(hull[nxt(ind1, hull.size() - 1)], d1));
~~~^~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Ok! You are better than Ionel! | 10 |
2 | 2ms | 131kb | Ok! You are better than Ionel! | 10 |
3 | 2ms | 131kb | Ok! You are better than Ionel! | 10 |
4 | 2ms | 131kb | Ok! You are better than Ionel! | 10 |
5 | 10ms | 262kb | Ok! You are better than Ionel! | 10 |
6 | 84ms | 1703kb | Ok! You are better than Ionel! | 10 |
7 | 91ms | 1703kb | Ok! You are better than Ionel! | 10 |
8 | 2ms | 131kb | Ok! You are better than Ionel! | 10 |
9 | 91ms | 1703kb | Ok! You are better than Ionel! | 10 |
10 | 2ms | 131kb | Ok! You are better than Ionel! | 10 |
Punctaj total | 100 |