Pagini recente » Cod sursa (job #3361576) | Cod sursa (job #3361571) | Borderou de evaluare (job #3361515) | Borderou de evaluare (job #3361509) | Borderou de evaluare (job #3361527)
Borderou de evaluare (job #3361527)
Raport evaluator
Compilare:
main.cpp: In function 'void normalizam()':
main.cpp:138:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
138 | for(int i=0;i<a.size();i++){
| ~^~~~~~~~~
main.cpp:146:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
146 | for(int i=0;i<a.size();i++){
| ~^~~~~~~~~
main.cpp: In function 'void solve()':
main.cpp:163:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
163 | for(int i=0;i < a.size();i++){
| ~~^~~~~~~~~~
main.cpp:173:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Segment>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
173 | for(int j = 0;j < segs.size();j++){
| ~~^~~~~~~~~~~~~
main.cpp:189:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
189 | for(int i=0;i<a.size();i++){
| ~^~~~~~~~~
In constructor 'Segment::Segment(Point, Point)',
inlined from 'void solve()' at main.cpp:213:33:
main.cpp:76:12: warning: 'mid.Point::idx' may be used uninitialized [-Wmaybe-uninitialized]
76 | p2 = x2;
| ~~~^~~~
main.cpp: In function 'void solve()':
main.cpp:195:21: note: 'mid.Point::idx' was declared here
195 | 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:54:31,
inlined from 'Segment::Segment(Point, Point)' at main.cpp:70:15,
inlined from 'void solve()' at main.cpp:218: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:195:21: note: 'mid.Point::y' was declared here
195 | Point le,ri,mid;
| ^~~
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:649:43,
inlined from 'bool Point::operator<(const Point&) const' at main.cpp:54:31,
inlined from 'Segment::Segment(Point, Point)' at main.cpp:70:15,
inlined from 'void solve()' at main.cpp:218:56:
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 10 |
| 2 | 354ms | 40427kb | Incorect | 0 |
| 3 | 6ms | 1343kb | Incorect | 0 |
| 4 | 359ms | 65859kb | Memory limit exceeded | 0 |
| 5 | 356ms | 65671kb | Memory limit exceeded | 0 |
| 6 | 147ms | 14770kb | Incorect | 0 |
| 7 | 500ms | 53907kb | Time limit exceeded | 0 |
| 8 | 361ms | 28385kb | Incorect | 0 |
| 9 | 500ms | 56635kb | Time limit exceeded | 0 |
| 10 | 504ms | 55857kb | Time limit exceeded | 0 |
| Punctaj total | 10 |