Borderou de evaluare (job #3206939)

Utilizator nicholas9onicaMike Krack nicholas9onica Data 24 februarie 2024 15:01:13
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:74:25: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] 74 | while(st.empty()>1 && cross_product(st.back(),v[i])<0) | ~~~~~~~~~~^~ main.cpp:89:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Punct>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 89 | for(i=0;i<st.size();i++) | ~^~~~~~~~~~ main.cpp:49:11: warning: unused variable 'j' [-Wunused-variable] 49 | int i,j,n,poz; | ^ main.cpp: In function 'int cadran(Punct)': main.cpp:29:1: warning: control reaches end of non-void function [-Wreturn-type] 29 | } | ^ main.cpp: In function 'bool cmp(Punct, Punct)': main.cpp:43:1: warning: control reaches end of non-void function [-Wreturn-type] 43 | } | ^ main.cpp: In function 'int main()': main.cpp:49:15: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 49 | int i,j,n,poz; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbNumar de puncte incorect0
20ms303kbNumar de puncte incorect0
33ms401kbKilled by Signal 110
43ms401kbKilled by Signal 110
53ms401kbKilled by Signal 110
63ms401kbKilled by Signal 110
73ms405kbKilled by Signal 110
83ms409kbKilled by Signal 110
93ms409kbKilled by Signal 110
103ms405kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?