Borderou de evaluare (job #2447015)

Utilizator Mihai145Oprea Mihai Adrian Mihai145 Data 11 august 2019 15:36:12
Problema Rubarba Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

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
12ms131kbOk! You are better than Ionel!10
22ms131kbOk! You are better than Ionel!10
32ms131kbOk! You are better than Ionel!10
42ms131kbOk! You are better than Ionel!10
510ms262kbOk! You are better than Ionel!10
684ms1703kbOk! You are better than Ionel!10
791ms1703kbOk! You are better than Ionel!10
82ms131kbOk! You are better than Ionel!10
991ms1703kbOk! You are better than Ionel!10
102ms131kbOk! You are better than Ionel!10
Punctaj total100

Ceva nu functioneaza?