Pagini recente » Borderou de evaluare (job #2933431) | Borderou de evaluare (job #2889355) | Borderou de evaluare (job #1399276) | Borderou de evaluare (job #76962) | Borderou de evaluare (job #2944933)
Borderou de evaluare (job #2944933)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:70:28: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
70 | int mid = L[i] + R[i] >> 1;
| ~~~~~^~~~~~
main.cpp: In function 'void reset()':
main.cpp:85:20: warning: array subscript 400010 is outside array bounds of 'll [200005]' {aka 'long long int [200005]'} [-Warray-bounds]
85 | void reset() { fill(t, t + 2 * N, 0); }
| ~~~~^~~~~~~~~~~~~~~~~
main.cpp:9:4: note: at offset 3200080 into object 't' of size 1600040
9 | ll t[N];
| ^
In file included 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 function 'constexpr typename __gnu_cxx::__enable_if<std::__is_scalar<_Tp>::__value, void>::__type std::__fill_a1(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = long long int*; _Tp = int]',
inlined from 'constexpr void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = long long int*; _Tp = int]' at /usr/include/c++/12.2.1/bits/stl_algobase.h:968:21,
inlined from 'constexpr void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = long long int*; _Tp = int]' at /usr/include/c++/12.2.1/bits/stl_algobase.h:998:20,
inlined from 'void reset()' at main.cpp:85:20:
/usr/include/c++/12.2.1/bits/stl_algobase.h:922:18: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [1600040, 3200079] is out of the bounds [0, 1600040] of object 't' with type 'll [200005]' {aka 'long long int [200005]'} [-Warray-bounds]
922 | *__first = __tmp;
| ~~~~~~~~~^~~~~~~
main.cpp: In function 'void reset()':
main.cpp:9:4: note: 't' declared here
9 | ll t[N];
| ^
In function 'void reset()',
inlined from 'int main()' at main.cpp:68:14:
main.cpp:85:20: warning: array subscript 400010 is outside array bounds of 'll [200005]' {aka 'long long int [200005]'} [-Warray-bounds]
85 | void reset() { fill(t, t + 2 * N, 0); }
| ~~~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:9:4: note: at offset 3200080 into object 't' of size 1600040
9 | ll t[N];
| ^
In function 'constexpr typename __gnu_cxx::__enable_if<std::__is_scalar<_Tp>::__value, void>::__type std::__fill_a1(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = long long int*; _Tp = int]',
inlined from 'constexpr void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = long long int*; _Tp = int]' at /usr/include/c++/12.2.1/bits/stl_algobase.h:968:21,
inlined from 'constexpr void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = long long int*; _Tp = int]' at /usr/include/c++/12.2.1/bits/stl_algobase.h:998:20,
inlined from 'void reset()' at main.cpp:85:20,
inlined from 'int main()' at main.cpp:68:14:
/usr/include/c++/12.2.1/bits/stl_algobase.h:922:18: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [1600040, 3200079] is out of the bounds [0, 1600040] of object 't' with type 'll [200005]' {aka 'long long int [200005]'} [-Warray-bounds]
922 | *__first = __tmp;
| ~~~~~~~~~^~~~~~~
main.cpp: In function 'int main()':
main.cpp:9:4: note: 't' declared here
9 | ll t[N];
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 9ms | 4268kb | OK | 7 | 15 |
2 | 19ms | 4628kb | OK | 8 |
3 | 642ms | 35930kb | OK | 10 | 20 |
4 | 780ms | 46804kb | OK | 10 |
5 | 172ms | 12132kb | OK | 11 | 35 |
6 | 315ms | 20553kb | OK | 12 |
7 | 345ms | 32645kb | OK | 12 |
8 | 1365ms | 46579kb | OK | 10 | 30 |
9 | 1063ms | 58130kb | OK | 10 |
10 | 1295ms | 60051kb | OK | 10 |
Punctaj total | 100 |