Borderou de evaluare (job #3195979)

Utilizator tbi1233Tiberiu Telcean tbi1233 Data 22 ianuarie 2024 13:33:43
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'long double angle(c, c)': main.cpp:42:12: error: 'atan2' was not declared in this scope 42 | return atan2(s.y-f.y, s.x-f.x); | ^~~~~ main.cpp: In function 'std::stack<c> convexhullr(std::vector<c>)': main.cpp:80:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<c>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 80 | for(int i=2; i<p.size(); i++) { | ~^~~~~~~~~ main.cpp: In function 'std::stack<c> convexhulll(std::vector<c>)': main.cpp:92:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<c>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 92 | for(int i=2; i<p.size(); i++) { | ~^~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?