Borderou de evaluare (job #2446957)

Utilizator Mihai145Oprea Mihai Adrian Mihai145 Data 11 august 2019 13:28:02
Problema Rubarba Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'Dreapta dreapta(Punct, Punct)': main.cpp:29: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:29: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:29: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:98:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < hull.size(); i++) ~~^~~~~~~~~~~~~ main.cpp:105:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(i == hull.size() - 1) ~~^~~~~~~~~~~~~~~~~~ main.cpp:111:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (long long j = 0; j < hull.size(); ++j) ~~^~~~~~~~~~~~~
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
510ms262kbIonel rulz, you don't!0
685ms1703kbIonel rulz, you don't!0
786ms1835kbIonel rulz, you don't!0
82ms131kbOk! You are better than Ionel!10
992ms1703kbIonel rulz, you don't!0
102ms131kbOk! You are better than Ionel!10
Punctaj total60

Ceva nu functioneaza?