Borderou de evaluare (job #3349100)

Utilizator Andrada_MincaAndrada Minca Andrada_Minca Data 25 martie 2026 14:20:31
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:29:1: error: 'cont' does not name a type; did you mean 'const'? 29 | cont double poola=1e-10; | ^~~~ | const main.cpp: In function 'int main()': main.cpp:43:85: error: 'poola' was not declared in this scope 43 | while (ans.size()>=2&&arie(v[ans[ans.size()-2]],v[ans[ans.size()-1]],v[i])<=poola) | ^~~~~ main.cpp:52:25: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 52 | while(ans.size()>t&&arie(v[ans[ans.size()-2]],v[ans[ans.size()-1]],v[i])<=poola) | ~~~~~~~~~~^~ main.cpp:52:83: error: 'poola' was not declared in this scope 52 | while(ans.size()>t&&arie(v[ans[ans.size()-2]],v[ans[ans.size()-1]],v[i])<=poola) | ^~~~~ main.cpp:60:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 60 | for(int i=0;i<ans.size();i++) | ~^~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?