Pagini recente » Borderou de evaluare (job #947595) | Borderou de evaluare (job #2859435) | Borderou de evaluare (job #2022358) | Borderou de evaluare (job #1919071) | Borderou de evaluare (job #2950508)
Borderou de evaluare (job #2950508)
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 |
1 | 0ms | 184kb | Numar de puncte incorect | 0 |
2 | 0ms | 184kb | Numar de puncte incorect | 0 |
3 | 34ms | 1118kb | Numar de puncte incorect | 0 |
4 | 40ms | 1118kb | Numar de puncte incorect | 0 |
5 | 39ms | 1187kb | Numar de puncte incorect | 0 |
6 | 197ms | 5713kb | Numar de puncte incorect | 0 |
7 | 199ms | 5664kb | Numar de puncte incorect | 0 |
8 | 197ms | 5754kb | Numar de puncte incorect | 0 |
9 | 196ms | 5754kb | Numar de puncte incorect | 0 |
10 | 198ms | 5644kb | Numar de puncte incorect | 0 |
Punctaj total | 0 |