Borderou de evaluare (job #3208935)

Utilizator nicholas9onicaOnica Nicholas Andrei nicholas9onica Data 1 martie 2024 16:21:21
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:93:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Punct>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 93 | for(i=0;i<st.size();i++) | ~^~~~~~~~~~ main.cpp:53:11: warning: unused variable 'j' [-Wunused-variable] 53 | 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:47:1: warning: control reaches end of non-void function [-Wreturn-type] 47 | } | ^ In file included from /usr/include/c++/12.2.1/bits/exception_ptr.h:43, from /usr/include/c++/12.2.1/exception:168, from /usr/include/c++/12.2.1/ios:39, from /usr/include/c++/12.2.1/ostream:38, from /usr/include/c++/12.2.1/iostream:39, from main.cpp:1: In function 'constexpr std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = Punct]', inlined from 'int main()' at main.cpp:72:9: /usr/include/c++/12.2.1/bits/move.h:206:7: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 206 | __b = _GLIBCXX_MOVE(__tmp); | ^~~ main.cpp: In function 'int main()': main.cpp:53:15: note: 'poz' was declared here 53 | int i,j,n,poz; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbCorect10
20ms303kbCorect10
33ms417kbKilled by Signal 110
43ms409kbKilled by Signal 110
53ms413kbKilled by Signal 110
63ms413kbKilled by Signal 110
73ms413kbKilled by Signal 110
83ms413kbKilled by Signal 110
93ms413kbKilled by Signal 110
103ms413kbKilled by Signal 110
Punctaj total20

Ceva nu functioneaza?