Pagini recente » Borderou de evaluare (job #1092745) | Borderou de evaluare (job #140809) | Borderou de evaluare (job #3030329) | Borderou de evaluare (job #274285) | Borderou de evaluare (job #2080136)
Borderou de evaluare (job #2080136)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool SegmentTree::Check(Point, Point)’:
user.cpp:77:17: warning: unused variable ‘mid’ [-Wunused-variable]
int mid = l + (r - l) / 2;
^
user.cpp:93:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = p0; i < P.size() && P[i] < p2; ++i)
^
user.cpp: In function ‘long long int MaxArea()’:
user.cpp:164:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j + 1 >= Pi.size() || Pi[j + 1].x != Pi[j].x)
^
user.cpp:168:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i2 + 1 >= Pj.size() || Pj[i2 + 1].y != Pj[i2].y)
^
user.cpp:172:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j2 + 1 >= Pi.size() || Pi[j2 + 1] != Pj[i2 + 1])
^
user.cpp:154:24: warning: unused variable ‘cnt’ [-Wunused-variable]
long long amax{0}, cnt{0};
^
user.cpp: In function ‘int BinarySearch(Point, std::vector<Point>&, char)’:
user.cpp:192:26: warning: narrowing conversion of ‘((& P)->std::vector<_Tp, _Alloc>::size<Point, std::allocator<Point> >() + 4294967295u)’ from ‘std::vector<Point>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
int l{0}, r{P.size() - 1}, mid;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | OK | 5 |
2 | 0ms | 452kb | OK | 5 |
3 | 0ms | 644kb | OK | 5 |
4 | 0ms | 632kb | OK | 5 |
5 | 0ms | 656kb | OK | 5 |
6 | 0ms | 668kb | OK | 5 |
7 | 0ms | 804kb | OK | 5 |
8 | 0ms | 788kb | OK | 5 |
9 | 0ms | 812kb | OK | 5 |
10 | 0ms | 820kb | OK | 5 |
11 | 20ms | 2964kb | OK | 5 |
12 | 20ms | 2944kb | OK | 5 |
13 | 20ms | 3412kb | OK | 5 |
14 | 20ms | 3296kb | OK | 5 |
15 | 120ms | Depăşit | Memory limit exceeded. | 0 |
16 | 120ms | Depăşit | Memory limit exceeded. | 0 |
17 | 124ms | Depăşit | Memory limit exceeded. | 0 |
18 | 120ms | Depăşit | Memory limit exceeded. | 0 |
19 | 120ms | Depăşit | Memory limit exceeded. | 0 |
20 | 120ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 70 |