Borderou de evaluare (job #3217233)

Utilizator DumitrescuADumitrescuA DumitrescuA Data 21 martie 2024 20:47:31
Problema Gradina Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int64_t getArea(const std::vector<Point>&)': main.cpp:24:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 24 | for(int i = 1; i < P.size(); i++) Area += llabs(Det(P[0], P[i - 1], P[i])); | ~~^~~~~~~~~~ main.cpp: In function 'std::vector<Point> getHull(std::vector<Point>&)': main.cpp:35:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 35 | for(int i = 2; i < P.size(); i++) { | ~~^~~~~~~~~~ main.cpp: At global scope: main.cpp:96:2: error: 's' does not name a type 96 | }s | ^ Non zero exit status: 1

Ceva nu functioneaza?