Pagini recente » Cod sursa (job #3253253) | Cod sursa (job #1397623) | Cod sursa (job #2970402) | Cod sursa (job #1891781) | Borderou de evaluare (job #2080147)
Borderou de evaluare (job #2080147)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool SegmentTree::Check(int, int)’:
user.cpp:80:17: warning: unused variable ‘mid’ [-Wunused-variable]
int mid = l + (r - l) / 2;
^
user.cpp:96:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = p0; i < P.size() && Pj[P[i]] < Pj[p2]; ++i)
^
user.cpp: In function ‘long long int MaxArea()’:
user.cpp:165: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:169: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:173:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j2 + 1 >= Pi.size() || Pi[j2 + 1] != Pj[i2 + 1])
^
user.cpp:155: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:193: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 | 456kb | OK | 5 |
2 | 0ms | 460kb | OK | 5 |
3 | 0ms | 580kb | OK | 5 |
4 | 0ms | 580kb | OK | 5 |
5 | 0ms | 600kb | OK | 5 |
6 | 0ms | 596kb | OK | 5 |
7 | 0ms | 732kb | OK | 5 |
8 | 0ms | 720kb | OK | 5 |
9 | 0ms | 740kb | OK | 5 |
10 | 0ms | 748kb | OK | 5 |
11 | 16ms | 2460kb | OK | 5 |
12 | 16ms | 2456kb | OK | 5 |
13 | 16ms | 2892kb | OK | 5 |
14 | 16ms | 2768kb | OK | 5 |
15 | 128ms | Depăşit | Memory limit exceeded. | 0 |
16 | 132ms | Depăşit | Memory limit exceeded. | 0 |
17 | 132ms | Depăşit | Memory limit exceeded. | 0 |
18 | 132ms | Depăşit | Memory limit exceeded. | 0 |
19 | 128ms | Depăşit | Memory limit exceeded. | 0 |
20 | 128ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 70 |