Borderou de evaluare (job #2950507)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 3 decembrie 2022 22:13:55
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'std::vector<Point> upper_hull(const std::vector<Point>&)': main.cpp:18:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 18 | for(int i = 2; i < v.size(); i++){ | ~~^~~~~~~~~~ main.cpp:19:50: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] 19 | while(convex(S[last - 1], S[last], v[i]) < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ main.cpp: In function 'std::vector<Point> lower_hull(const std::vector<Point>&)': main.cpp:29:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 29 | for(int i = 2; i < v.size(); i++){ | ~~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:57:21: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 57 | const auto& [x, y] = lower[i]; | ^ main.cpp:61:21: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 61 | const auto& [x, y] = upper[i]; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbKilled by Signal 110
20ms184kbKilled by Signal 110
30ms184kbKilled by Signal 110
40ms184kbKilled by Signal 110
50ms184kbKilled by Signal 110
60ms184kbKilled by Signal 110
70ms184kbKilled by Signal 110
80ms184kbKilled by Signal 110
90ms184kbKilled by Signal 110
100ms184kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?