Borderou de evaluare (job #2877262)

Utilizator iancupoppPopp Iancu Alexandru iancupopp Data 24 martie 2022 14:29:28
Problema Rubarba Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:87:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<double, double> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 87 | for (int i = 2; i < hull.size(); ++i) | ~~^~~~~~~~~~~~~ main.cpp:94:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<double, double> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 94 | for (int i = 0; i < hull.size(); ++i) { | ~~^~~~~~~~~~~~~ main.cpp:102:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<double, double> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 1; i < hull.size(); ++i) { | ~~^~~~~~~~~~~~~ main.cpp:111:94: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 111 | while (distToLine(hull[(right + 1) % hull.size()], perp) > distToLine(hull[right], perp) && sameSide(hull[(right + 1) % hull.size()], b, perp) || !sameSide(hull[right], b, perp)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOk! You are better than Ionel!10
22ms184kbOk! You are better than Ionel!10
32ms184kbIonel rulz, you don't!0
42ms184kbIonel rulz, you don't!0
525ms1003kbIonel rulz, you don't!0
6331ms8282kbIonel rulz, you don't!0
7317ms8286kbIonel rulz, you don't!0
82ms184kbIonel rulz, you don't!0
9317ms8286kbIonel rulz, you don't!0
102ms184kbOk! You are better than Ionel!10
Punctaj total30

Ceva nu functioneaza?