Borderou de evaluare (job #3361518)

Utilizator CorvinJudge0Corvin Judge CorvinJudge0 Data 24 iulie 2026 19:39:50
Problema Tri2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'void normalizam()': main.cpp:126:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 126 | for(int i=0;i<a.size();i++){ | ~^~~~~~~~~ main.cpp:134:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 134 | for(int i=0;i<a.size();i++){ | ~^~~~~~~~~ main.cpp: In function 'void solve()': main.cpp:151:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 151 | for(int i=0;i < a.size();i++){ | ~~^~~~~~~~~~ main.cpp:160:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Segment>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 160 | for(int j = 0;j < segs.size();j++){ | ~~^~~~~~~~~~~~~ main.cpp:176:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 176 | for(int i=0;i<a.size();i++){ | ~^~~~~~~~~ In constructor 'Segment::Segment(Point, Point)', inlined from 'void solve()' at main.cpp:200:33: main.cpp:65:12: warning: 'mid.Point::idx' may be used uninitialized [-Wmaybe-uninitialized] 65 | p2 = x2; | ~~~^~~~ main.cpp: In function 'void solve()': main.cpp:182:21: note: 'mid.Point::idx' was declared here 182 | Point le,ri,mid; | ^~~ In file included from /usr/include/c++/12.2.1/bits/stl_pair.h:65, from /usr/include/c++/12.2.1/bits/stl_algobase.h:64, from /usr/include/c++/12.2.1/bits/specfun.h:45, from /usr/include/c++/12.2.1/cmath:1935, from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:41, from main.cpp:1: In member function 'constexpr auto std::__detail::_Synth3way::operator()(const _Tp&, const _Up&) const requires requires{{std::__detail::_Synth3way::operator()::__t < std::__detail::_Synth3way::operator()::__u} -> decltype(auto) [requires std::__detail::__boolean_testable<<placeholder>, >];{std::__detail::_Synth3way::operator()::__u < std::__detail::_Synth3way::operator()::__t} -> decltype(auto) [requires std::__detail::__boolean_testable<<placeholder>, >];} [with _Tp = int; _Up = int]', inlined from 'constexpr std::common_comparison_category_t<decltype (std::__detail::__synth3way(declval<_T1&>(), declval<_T1&>())), decltype (std::__detail::__synth3way(declval<_T2&>(), declval<_T2&>()))> std::operator<=>(const pair<_T1, _T2>&, const pair<_T1, _T2>&) [with _T1 = int; _T2 = int]' at /usr/include/c++/12.2.1/bits/stl_pair.h:651:35, inlined from 'constexpr std::common_comparison_category_t<decltype (std::__detail::__synth3way(declval<_T1&>(), declval<_T1&>())), decltype (std::__detail::__synth3way(declval<_T2&>(), declval<_T2&>()))> std::operator<=>(const pair<_T1, _T2>&, const pair<_T1, _T2>&) [with _T1 = int; _T2 = int]' at /usr/include/c++/12.2.1/bits/stl_pair.h:647:5, inlined from 'bool Point::operator<(const Point&) const' at main.cpp:43:31, inlined from 'Segment::Segment(Point, Point)' at main.cpp:59:15, inlined from 'void solve()' at main.cpp:205:56: /usr/include/c++/12.2.1/compare:1220:28: warning: 'mid.Point::y' may be used uninitialized [-Wmaybe-uninitialized] 1220 | return __t <=> __u; | ^~~ main.cpp: In function 'void solve()': main.cpp:182:21: note: 'mid.Point::y' was declared here 182 | Point le,ri,mid; | ^~~ In function 'long long int CP(const Point&, const Point&, const Point&)', inlined from 'void solve()' at main.cpp:197:20: main.cpp:94:61: warning: 'mid.Point::x' may be used uninitialized [-Wmaybe-uninitialized] 94 | return 1ll * p1.x * p2.y + 1ll * p2.x * p3.y + 1ll * p3.x * p1.y - 1ll * p2.y * p3.x - 1ll * p3.y * p1.x - 1ll * p1.y * p2.x; | ~~~^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
2500ms303kbTime limit exceeded0
3502ms557kbTime limit exceeded0
4501ms28561kbTime limit exceeded0
5502ms28348kbTime limit exceeded0
6500ms11603kbTime limit exceeded0
7502ms6025kbTime limit exceeded0
8502ms10817kbTime limit exceeded0
9502ms10768kbTime limit exceeded0
10501ms10694kbTime limit exceeded0
Punctaj total10

Ceva nu functioneaza?